aboutsummaryrefslogtreecommitdiff
path: root/8.7/Makefile
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-05-20 19:02:23 +0530
committersinanmohd <sinan@firemail.cc>2023-05-20 20:49:21 +0530
commit1e05635a00b545f163bc7aaeaf8aa1d37c63943d (patch)
tree1733aa38554ab9932ee792860ed7cc8c83f5058c /8.7/Makefile
parent6023a709ed2fb5e9d7c91c713255e227e3804f78 (diff)
8.7: initial commit
Diffstat (limited to '8.7/Makefile')
-rw-r--r--8.7/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/8.7/Makefile b/8.7/Makefile
new file mode 100644
index 0000000..1201253
--- /dev/null
+++ b/8.7/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)