change Makefile and add day 2

This commit is contained in:
2025-12-03 17:04:21 +01:00
parent bc0d448f75
commit 786310898d
133 changed files with 2983 additions and 10 deletions

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2024/07/17 15:48:36 by tomoron #+# #+# #
# Updated: 2024/10/29 20:43:12 by tomoron ### ########.fr #
# Updated: 2025/12/02 14:14:04 by tomoron ### ########.fr #
# #
# **************************************************************************** #
@ -42,16 +42,16 @@ $(LIB): libft
make -C libft
libft:
cp -r ~/Desktop/aoc/libft .
cp -r ../../libft .
main.c:
cp ~/Desktop/aoc/main.c .
cp ../../main.c .
part1.c:
cp ~/Desktop/aoc/part1.c .
cp ../../part1.c .
part2.c:
cp ~/Desktop/aoc/part2.c .
cp ../../part2.c .
a.out: main.c $(OBJS) $(LIB)
clang $(FLAGS) $(OBJS) $(LIB)