aboutsummaryrefslogtreecommitdiff
path: root/8.6/Makefile
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-05-20 12:47:56 +0530
committersinanmohd <sinan@firemail.cc>2023-05-20 17:36:39 +0530
commit6023a709ed2fb5e9d7c91c713255e227e3804f78 (patch)
tree218c685b1b949cde2372c1bfece6f090d7f438c2 /8.6/Makefile
parentf6901aab1fb07f8ee807afb7b76a3c69ff6a9370 (diff)
8.6: initial commit
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)