summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorakiyamn2020-09-03 23:33:45 +1000
committerakiyamn2020-09-03 23:33:45 +1000
commita55512edbe175e96a2120be569232274b27e582f (patch)
tree584378000e0adae1ea7490fa6e95cea02d1a76a0 /Makefile
parent4444a375ac7f24ada2932291661d9102791604d9 (diff)
downloadfit2100_ass1-a55512edbe175e96a2120be569232274b27e582f.tar.gz
fit2100_ass1-a55512edbe175e96a2120be569232274b27e582f.zip
Functionality of Task 1 done
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4ebec02..d28e100 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,13 @@
+OUTPUT = fileutil
OBJS = fileutil.o
CC = gcc
CFLAGS = -Wall -c
all: $(OBJS)
- $(CC) $(OBJS) -o fileutil
+ $(CC) $(OBJS) -o $(OUTPUT)
fileutil.o: fileutil.c fileutil.h
$(CC) $(CFLAGS) fileutil.c
+
+clean:
+ rm $(OUTPUT) $(OBJS) \ No newline at end of file