summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorakiyamn2020-10-19 19:23:47 +1100
committerakiyamn2020-10-19 19:23:47 +1100
commit7dfef31dfd2c64d15e8744e302a59735c80d3d09 (patch)
treec13d215935156be9d9ebfba912b7609aa4d49207 /Makefile
parente1ee835be80f86e994adfb60efb747872d3a51e9 (diff)
downloadfit2100_ass2-7dfef31dfd2c64d15e8744e302a59735c80d3d09.tar.gz
fit2100_ass2-7dfef31dfd2c64d15e8744e302a59735c80d3d09.zip
Functional task 2
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