aboutsummaryrefslogtreecommitdiff
path: root/6.3/Makefile
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-05-08 08:18:22 +0530
committersinanmohd <sinan@firemail.cc>2023-05-08 09:53:13 +0530
commit6f84ebbb257064465be25100fb722ffb045cb0b1 (patch)
treef8af92434dcbef3e4fd259a0b89834d48db118c4 /6.3/Makefile
parentf84892068fa3b1ab2f85ba6c2f36b4856086e8e5 (diff)
6.3: using array of int
Diffstat (limited to '6.3/Makefile')
-rw-r--r--6.3/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/6.3/Makefile b/6.3/Makefile
new file mode 100644
index 0000000..ca85182
--- /dev/null
+++ b/6.3/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)