summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a60b2f8..b378566 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,15 @@
CC = gcc
-CFLAGS = -Wall
+CFLAGS = -Wall -g
-ALL: task1
+ALL: task1 task2
task1: task-1-29994705.c
$(CC) $(CFLAGS) task-1-29994705.c -o task-1-29994705
chmod +x task-1-29994705
+task2: task-2-29994705.c
+ $(CC) $(CFLAGS) task-2-29994705.c -o task-2-29994705
+ chmod +x task-2-29994705
+
clean:
- rm task-1-29994705
+ rm task-1-29994705 task-2-29994705