From 329fada630517195a472da703d19d7eced62c5a8 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Wed, 3 May 2023 16:21:54 +0530 Subject: 6.2: initial commit this version keeps the word count --- 6.2/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 6.2/Makefile (limited to '6.2/Makefile') diff --git a/6.2/Makefile b/6.2/Makefile new file mode 100644 index 0000000..d3991c3 --- /dev/null +++ b/6.2/Makefile @@ -0,0 +1,13 @@ +objects = main.o getch.o word.o tree.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) -- cgit v1.2.3