aboutsummaryrefslogtreecommitdiff
path: root/07/Makefile
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-12-22 19:10:30 +0800
committerMistivia <i@mistivia.com>2025-12-22 19:10:30 +0800
commit32e0cb33a52a7387f736a73c5f920d39489966a4 (patch)
treef65af3124b7444ec98bb2b7babafeaea3b2b0e77 /07/Makefile
parent4b27ce73e723121fb0ea218e4fea1d92e29a26e6 (diff)
day 7 part 1
Diffstat (limited to '07/Makefile')
-rw-r--r--07/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/07/Makefile b/07/Makefile
new file mode 100644
index 0000000..7d325ba
--- /dev/null
+++ b/07/Makefile
@@ -0,0 +1,13 @@
+all: part1 part2
+
+part1: part1.c
+ gcc -Wall -g part1.c -o part1 -lalgds
+
+part2: part2.c
+ gcc -Wall -g part2.c -o part2 -lalgds
+
+1: part1
+ cat input | ./part1
+
+2: part2
+ cat input | ./part2 \ No newline at end of file