From 73526f53e58c476507c44fd94412b04244ab0930 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 9 May 2023 18:52:09 +0530 Subject: 6.5 initial commit --- 6.5/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 6.5/Makefile (limited to '6.5/Makefile') 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) -- cgit v1.2.3