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