aboutsummaryrefslogtreecommitdiff
path: root/6.4/Makefile
blob: ca851825b31bf52d921610b7dfcba4797dc3f416 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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)