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