aboutsummaryrefslogtreecommitdiff
path: root/8.5/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '8.5/Makefile')
-rw-r--r--8.5/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/8.5/Makefile b/8.5/Makefile
new file mode 100644
index 0000000..fc7953f
--- /dev/null
+++ b/8.5/Makefile
@@ -0,0 +1,12 @@
+OBJECTS = main.o fsize.o
+CC = gcc
+CFLAGS = -Wvla -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -fsanitize=address
+
+fsize: $(OBJECTS)
+ $(CC) $(CFLAGS) -o fsize $(OBJECTS)
+
+main.o: fsize.h
+
+.PHONY: clean
+clean:
+ rm -f fsize $(OBJECTS)