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