aboutsummaryrefslogtreecommitdiff
path: root/7.3/Makefile
diff options
context:
space:
mode:
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)