aboutsummaryrefslogblamecommitdiff
path: root/6.6/Makefile
blob: 0900c66f39db4c579234e116f4697eebcbc59373 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)