This commit is contained in:
Ladebeze66
2024-02-21 17:11:59 +01:00
parent 8b84a934b1
commit bce000d3ca
15 changed files with 306 additions and 131 deletions

View File

@@ -6,7 +6,7 @@
# By: fgras-ca <fgras-ca@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2023/12/27 20:57:42 by fgras-ca #+# #+# #
# Updated: 2024/02/11 13:37:27 by fgras-ca ### ########.fr #
# Updated: 2024/02/21 17:06:51 by fgras-ca ### ########.fr #
# #
# **************************************************************************** #
@@ -28,14 +28,16 @@ NAME = Bureaucrat
SRC = Bureaucrat.cpp \
main.cpp \
OBJS = ${SRC:.cpp=.o}
CC = c++
CFLAGS = -Wall -Werror -Wextra -std=c++98
RM = rm -f
OBJS = ${SRC:.cpp=.o}
all : $(NAME)
%.o: %.cpp
$(CC) $(CFLAGS) -c $< -o $@
$(NAME) : $(OBJS)
@echo "$(RED)Compilation fixed... $(DEF_COLOR)"
$(CC) $(CFLAGS) $(OBJS) -g -o $(NAME)