update: rm -rf to restart from scratch

This commit is contained in:
Raphael 2025-02-18 20:20:27 +01:00
parent 42e83d8e62
commit 5e999def3a
45 changed files with 813 additions and 366 deletions

View file

@ -1,38 +1,39 @@
# **************************************************************************** #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2023/11/12 11:05:05 by rparodi #+# #+# #
# Updated: 2024/12/21 19:50:58 by rparodi ### ########.fr #
# Updated: 2025/02/18 20:12:03 by rparodi ### ########.fr #
# #
# **************************************************************************** #
# Variables
# Name
NAME = polyformism
NAME = open
# Commands
CXX = c++
RM = rm -rf
# Flags
# Mandatory flags for 42
# Mandatory flags for 42 cpp
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 = Animal.cpp \
SRC = main.cpp \
Brain.cpp \
Cat.cpp \
Dog.cpp \
WrongAnimal.cpp \
WrongCat.cpp \
main.cpp \
WrongAnimal.cpp \
Dog.cpp \
AAnimal.cpp \
Cat.cpp
# Objects
OBJDIRNAME = ./build