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