aboutsummaryrefslogtreecommitdiff
path: root/02/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '02/Makefile')
-rw-r--r--02/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/02/Makefile b/02/Makefile
index f69d8a5..a8f700f 100644
--- a/02/Makefile
+++ b/02/Makefile
@@ -1,8 +1,10 @@
+all: part1 part2
+
part1: part1.c
- gcc part1.c -o part1 -lalgds
+ gcc -g part1.c -o part1 -lalgds
part2: part2.c
- gcc part2.c -o part2 -lalgds
+ gcc -g part2.c -o part2 -lalgds
1: part1
cat input | ./part1