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