aboutsummaryrefslogtreecommitdiff
path: root/04/Makefile
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-12-21 18:45:50 +0800
committerMistivia <i@mistivia.com>2025-12-21 18:45:50 +0800
commit91c777fc315233341b19677f816048ab63a8a667 (patch)
treebb54486044123e25708c22e74f08ccbd6881629e /04/Makefile
parentb01124e56ca4cee22649d5a0e885c898685ecf00 (diff)
day 4 part1
Diffstat (limited to '04/Makefile')
-rw-r--r--04/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/04/Makefile b/04/Makefile
new file mode 100644
index 0000000..a8f700f
--- /dev/null
+++ b/04/Makefile
@@ -0,0 +1,13 @@
+all: part1 part2
+
+part1: part1.c
+ gcc -g part1.c -o part1 -lalgds
+
+part2: part2.c
+ gcc -g part2.c -o part2 -lalgds
+
+1: part1
+ cat input | ./part1
+
+2: part2
+ cat input | ./part2 \ No newline at end of file