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