This commit is contained in:
Ladebeze66
2024-02-22 16:34:34 +01:00
parent bce000d3ca
commit 9aa5e8f9c5
18 changed files with 160 additions and 79 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/21 13:06:08 by fgras-ca ### ########.fr #
# Updated: 2024/02/22 15:36:34 by fgras-ca ### ########.fr #
# #
# **************************************************************************** #
@@ -32,14 +32,16 @@ SRC = Bureaucrat.cpp \
RobotomyRequestForm.cpp \
ShrubberyCreationForm.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)