This commit is contained in:
kinou-p 2022-06-08 16:45:38 +02:00
parent 064ec4a751
commit 877377fa5e
6 changed files with 97 additions and 0 deletions

37
cpp01/ex00/Makefile Normal file
View File

@ -0,0 +1,37 @@
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: apommier <apommier@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2022/06/08 16:30:13 by apommier #+# #+# #
# Updated: 2022/06/08 16:32:48 by apommier ### ########.fr #
# #
# **************************************************************************** #
NAME = a.out
SRCS = main.cpp\
newZombie.cpp\
Zombie.cpp\
randomChump.cpp
OBJS = ${SRCS:.cpp=.o}
CC = c++
CFLAGS = -Wall -Wextra -Werror
RM = rm -rf
${NAME}: ${OBJS}
${CC} ${LIB} ${OBJS} -o ${NAME}
all: ${NAME}
clean:
@${RM} ${OBJS}
fclean: clean
@${RM} ${NAME}
re: fclean all
.PHONY: all clean fclean re

12
cpp01/ex00/Zombie.cpp Normal file
View File

@ -0,0 +1,12 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Zombie.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/06/08 16:30:20 by apommier #+# #+# */
/* Updated: 2022/06/08 16:30:21 by apommier ### ########.fr */
/* */
/* ************************************************************************** */

12
cpp01/ex00/Zombie.hpp Normal file
View File

@ -0,0 +1,12 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Zombie.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/06/08 16:30:22 by apommier #+# #+# */
/* Updated: 2022/06/08 16:30:23 by apommier ### ########.fr */
/* */
/* ************************************************************************** */

12
cpp01/ex00/main.cpp Normal file
View File

@ -0,0 +1,12 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/06/08 16:30:06 by apommier #+# #+# */
/* Updated: 2022/06/08 16:42:56 by apommier ### ########.fr */
/* */
/* ************************************************************************** */

12
cpp01/ex00/newZombie.cpp Normal file
View File

@ -0,0 +1,12 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* newZombie.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/06/08 16:30:16 by apommier #+# #+# */
/* Updated: 2022/06/08 16:30:17 by apommier ### ########.fr */
/* */
/* ************************************************************************** */

View File

@ -0,0 +1,12 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* randomChump.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/06/08 16:30:17 by apommier #+# #+# */
/* Updated: 2022/06/08 16:30:18 by apommier ### ########.fr */
/* */
/* ************************************************************************** */