aboutsummaryrefslogtreecommitdiff
path: root/6.5/Makefile
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-05-09 18:52:09 +0530
committersinanmohd <sinan@firemail.cc>2023-05-10 08:25:12 +0530
commit73526f53e58c476507c44fd94412b04244ab0930 (patch)
treea8e49d8c9b7985d869b43c4be31fbc06ab1f7476 /6.5/Makefile
parent3f761f64d02480c81177e39af2f00f0e76b6f113 (diff)
6.5 initial commit
Diffstat (limited to '6.5/Makefile')
-rw-r--r--6.5/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/6.5/Makefile b/6.5/Makefile
new file mode 100644
index 0000000..c99e8b9
--- /dev/null
+++ b/6.5/Makefile
@@ -0,0 +1,13 @@
+objects = main.o hash.o word.o getch.o
+CC = gcc
+CFLAGS = -Wvla -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -fsanitize=address
+
+hash : $(objects)
+ $(CC) $(CFLAGS) -o hash $(objects)
+
+main.o : word.h hash.h
+word.o : getch.h
+
+.PHONY : clean
+clean:
+ rm hash $(objects)