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