adding the start of ex01 with the patched for cpp98

This commit is contained in:
Raphael 2025-02-06 23:29:03 +01:00
parent 1cff8e9d9e
commit f7bd1abc3c
15 changed files with 185 additions and 35 deletions

View file

@ -19,13 +19,20 @@ CXX = c++
RM = rm -rf
# Flags
# Mandatory flags for 42 CXXFLAGS = -Werror -Wextra -Wall -std=c++98 -I./includes/
# Mandatory flags for 42
CXXFLAGS = -Werror -Wextra -Wall -std=c++98 -I./includes/
# Flags to debug and have the dependences (can be removed for correction)
CXXFLAGS += -MMD -g3
# Flag to debug (TO REMOVE)
# CXXFLAGS += -D DEBUG=1
# Sources
SRC = main.cpp
SRC = Animal.cpp \
Brain.cpp \
Cat.cpp \
Dog.cpp \
WrongAnimal.cpp \
WrongCat.cpp \
main.cpp \
# Objects
OBJDIRNAME = ./build