diff --git a/d05/ex00/Makefile b/d05/ex00/Makefile index deba33f..f938a7e 100644 --- a/d05/ex00/Makefile +++ b/d05/ex00/Makefile @@ -59,6 +59,9 @@ $(NAME): $(OBJS) # $(CC) $(OBJS) -o $@ $(LIBS) $(CXX) $(OBJS) -o $@ $(LIBS) +leaks: $(NAME) + valgrind --leak-check=full --show-leak-kinds=all ./$(NAME) + clean: $(RM_OBJS) diff --git a/d05/ex00/bureaucrat b/d05/ex00/bureaucrat deleted file mode 100755 index 64ea8f4..0000000 Binary files a/d05/ex00/bureaucrat and /dev/null differ diff --git a/d05/ex01/Makefile b/d05/ex01/Makefile index cb65767..e230cf2 100644 --- a/d05/ex01/Makefile +++ b/d05/ex01/Makefile @@ -61,6 +61,9 @@ $(NAME): $(OBJS) # $(CC) $(OBJS) -o $@ $(LIBS) $(CXX) $(OBJS) -o $@ $(LIBS) +leaks: $(NAME) + valgrind --leak-check=full --show-leak-kinds=all ./$(NAME) + clean: $(RM_OBJS) diff --git a/d05/ex01/larves b/d05/ex01/larves deleted file mode 100755 index 922ce63..0000000 Binary files a/d05/ex01/larves and /dev/null differ diff --git a/d05/ex02/Makefile b/d05/ex02/Makefile index ef6aa67..20d0951 100644 --- a/d05/ex02/Makefile +++ b/d05/ex02/Makefile @@ -67,8 +67,12 @@ $(NAME): $(OBJS) # $(CC) $(OBJS) -o $@ $(LIBS) $(CXX) $(OBJS) -o $@ $(LIBS) +leaks: $(NAME) + valgrind --leak-check=full --show-leak-kinds=all ./$(NAME) + clean: $(RM_OBJS) + rm -f *_shrubbery fclean: clean rm -f $(NAME) diff --git a/d05/ex02/ascii.txt b/d05/ex02/ascii.txt deleted file mode 100644 index 787ae08..0000000 --- a/d05/ex02/ascii.txt +++ /dev/null @@ -1,18 +0,0 @@ - * * - * * * - * * * * * - * * * * * - * * * * * * * - * * * * * .# * * - * * * #. .# * * - * "#. #: #" * * * - * * * "#. ##" * - * "### - "## - ##. - .##: - :### - ;### - ,####. -/\/\/\/\/\/.######.\/\/\/\/\ - diff --git a/d05/ex02/main.cpp b/d05/ex02/main.cpp index 1b8f0c0..002a817 100644 --- a/d05/ex02/main.cpp +++ b/d05/ex02/main.cpp @@ -4,7 +4,7 @@ #include "RobotomyRequestForm.hpp" #include "PresidentialPardonForm.hpp" -#define N_TEST "5" +#define N_TEST "7" int main() { int i = 0;