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