style: pushing back the color on the header

This commit is contained in:
Raphael 2024-11-05 12:55:42 +01:00
parent 0271d4b2de
commit f92e0bec15
2 changed files with 20 additions and 26 deletions

View file

@ -6,7 +6,7 @@
# By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# 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'

View file

@ -6,13 +6,31 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* 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 <cstdlib>
#include <string>
#include <iostream>
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 <cstdlib>
#include <string>
#include <iostream>
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