aboutsummaryrefslogtreecommitdiff
path: root/06/Makefile
diff options
context:
space:
mode:
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