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