aboutsummaryrefslogtreecommitdiff
path: root/7.5/Makefile
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-05-13 14:52:00 +0530
committersinanmohd <sinan@firemail.cc>2023-05-13 22:06:17 +0530
commit563cea897121b33cc5e98dc6ed3a36eb39d52766 (patch)
tree8da51d24daf9796c3d5351f13a068fc03fe997aa /7.5/Makefile
parente0b9da43b6311aa4413d030b27c6cdab000aeafd (diff)
7.5: initial commit, 4.10 with scanf instead of getchar
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)