aboutsummaryrefslogtreecommitdiff
path: root/09/Makefile
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-12-22 21:26:08 +0800
committerMistivia <i@mistivia.com>2025-12-22 21:26:08 +0800
commit43ed956fe8aec82a2b31833be210817186a0175d (patch)
tree7f5c16e2cb4914f0b25d878eb54bb9a75ae2df2f /09/Makefile
parenta7565285666245625874c353be525fe835fabaa1 (diff)
day 9 part 1
Diffstat (limited to '09/Makefile')
-rw-r--r--09/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/09/Makefile b/09/Makefile
new file mode 100644
index 0000000..7d325ba
--- /dev/null
+++ b/09/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