diff --git a/cpp01/ex01/Makefile b/cpp01/ex01/Makefile index aa72fe9..2710414 100644 --- a/cpp01/ex01/Makefile +++ b/cpp01/ex01/Makefile @@ -6,7 +6,7 @@ # By: rparodi +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2023/11/12 11:05:05 by rparodi #+# #+# # -# Updated: 2024/11/04 19:50:07 by rparodi ### ########.fr # +# Updated: 2024/11/05 12:55:19 by rparodi ### ########.fr # # # # **************************************************************************** # @@ -47,12 +47,6 @@ END = \033[0m # All (make all) all: header $(NAME) footer -# Bonus (make bonus) -bonus: header $(OBJ) footer - @mkdir -p $(OBJDIRNAME) - @printf '$(GREY) Creating $(END)$(GREEN)$(OBJDIRNAME)$(END)\n' - @$(CXX) $(CXXFLAGS) -o $(NAME) $(OBJ) - # Clean (make clean) clean: @printf '$(GREY) Removing $(END)$(RED)Objects$(END)\n' diff --git a/cpp01/ex01/Zombie.hpp b/cpp01/ex01/Zombie.hpp index b497501..dfc1b17 100644 --- a/cpp01/ex01/Zombie.hpp +++ b/cpp01/ex01/Zombie.hpp @@ -6,13 +6,31 @@ /* By: rparodi +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/11/04 16:03:03 by rparodi #+# #+# */ -/* Updated: 2024/11/05 12:33:49 by rparodi ### ########.fr */ +/* Updated: 2024/11/05 12:55:24 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef ZOMBIE_HPP # define ZOMBIE_HPP +#include +#include +#include + +class Zombie +{ + public: + Zombie(); + ~Zombie(); + void announce(void); + void setName( std::string name ); + private: + std::string _name; +}; + +Zombie* zombieHorde( int N, std::string name ); + + #define CLR_RESET "\033[0m" #define CLR_BLACK "\033[0;30m" @@ -44,22 +62,4 @@ #define CLR_BOLD_CYAN "\033[1;36m" #define CLR_BOLD_WHITE "\033[1;37m" - -#include -#include -#include - -class Zombie -{ - public: - Zombie(); - ~Zombie(); - void announce(void); - void setName( std::string name ); - private: - std::string _name; -}; - -Zombie* zombieHorde( int N, std::string name ); - #endif