aboutsummaryrefslogtreecommitdiff
path: root/7.8/Makefile
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-05-14 16:04:57 +0530
committersinanmohd <sinan@firemail.cc>2023-05-14 16:06:11 +0530
commit29af05de1994802e315de989316f3d854a146624 (patch)
treeb9d83839ec22a8edc42c786e213f35cf5df790b3 /7.8/Makefile
parent2281f142880a26dd96c666bcc26ef5c30525d671 (diff)
7.8: initial commit
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)