aboutsummaryrefslogtreecommitdiff
path: root/8.8/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '8.8/Makefile')
-rw-r--r--8.8/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/8.8/Makefile b/8.8/Makefile
new file mode 100644
index 0000000..eaa18c7
--- /dev/null
+++ b/8.8/Makefile
@@ -0,0 +1,12 @@
+OBJECTS = main.o malloc.o
+CC = gcc
+CFLAGS = -g -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)