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