aboutsummaryrefslogtreecommitdiff
path: root/8.1/Makefile
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-05-15 15:55:53 +0530
committersinanmohd <sinan@firemail.cc>2023-05-15 15:55:53 +0530
commit2a5a57e16f216a9bf8933345014c91f198bb1215 (patch)
treebd70e0ab14d343206e6a2935f1219d7bea28513a /8.1/Makefile
parent95b4f909ac709c098fb0ff59d3638826baaae0c0 (diff)
8.1: initial commit
Diffstat (limited to '8.1/Makefile')
-rw-r--r--8.1/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/8.1/Makefile b/8.1/Makefile
new file mode 100644
index 0000000..84ef405
--- /dev/null
+++ b/8.1/Makefile
@@ -0,0 +1,13 @@
+objects = main.o filecopy.o error.o
+CC = gcc
+CFLAGS = -Wvla -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -fsanitize=address
+
+cat : $(objects)
+ $(CC) $(CFLAGS) -o cat $(objects)
+
+main.o : error.h
+filecopy.o : error.h
+
+.PHONY : clean
+clean:
+ rm -f cat $(objects)