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