summaryrefslogtreecommitdiff
path: root/Makefile
blob: a16e71224e84cd34409a3681dc9526903426afc8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
OBJECTS = main.o util.o ui.o menu.o
CC = gcc
CFLAGS = -g -Wvla -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpedantic -fsanitize=address

tuil: $(OBJECTS)
	$(CC) $(CFLAGS) -o tuil $(OBJECTS)

main.o: config.h menu.h util.h
menu.o: ui.h util.h
ui.o: util.o config.h

.PHONY: clean
clean:
	rm -f tuil $(OBJECTS)