aboutsummaryrefslogtreecommitdiff
path: root/7.3/Makefile
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-05-11 21:10:32 +0530
committersinanmohd <sinan@firemail.cc>2023-05-12 15:50:08 +0530
commit8a00a65c66914b7dbbf7c3c594d94698f11629dc (patch)
treecec9a5fa9550ef4cbc6b3c281bea90bc718dc812 /7.3/Makefile
parentf481f43596073d7f5cee231da901fb43d6af8366 (diff)
7.3: initial commit, no printf was abused in the process
fractional number support is not complete, but most things should work.
Diffstat (limited to '7.3/Makefile')
-rw-r--r--7.3/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/7.3/Makefile b/7.3/Makefile
new file mode 100644
index 0000000..434eecd
--- /dev/null
+++ b/7.3/Makefile
@@ -0,0 +1,12 @@
+objects = main.o mprintf.o
+CC = gcc
+CFLAGS = -Wvla -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -fsanitize=address
+
+print : $(objects)
+ $(CC) $(CFLAGS) -o print $(objects) -lm
+
+main.o : mprintf.h
+
+.PHONY : clean
+clean :
+ rm print $(objects)