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