diff options
author | sinanmohd <sinan@firemail.cc> | 2023-05-10 09:48:22 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-05-10 18:05:15 +0530 |
commit | bfe41ee41ad751c558a4483cfdf6317ac3a3d506 (patch) | |
tree | 1aa113258f19959c22187932292ea1f7968b7d27 /6.6/Makefile | |
parent | 5c032ac33810cc3d01bdcc1cdb12bc8b913a696c (diff) |
6.6 initial commit (better ../6.5)
Diffstat (limited to '6.6/Makefile')
-rw-r--r-- | 6.6/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/6.6/Makefile b/6.6/Makefile new file mode 100644 index 0000000..0900c66 --- /dev/null +++ b/6.6/Makefile @@ -0,0 +1,14 @@ +objects = main.o hash.o word.o getch.o def.o +CC = gcc +CFLAGS = -Wvla -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -fsanitize=address + +def : $(objects) + $(CC) $(CFLAGS) -o def $(objects) + +main.o : word.h hash.h def.h +def.o : hash.h word.h getch.h def.h +word.o : getch.h + +.PHONY : clean +clean: + rm def $(objects) |