reworked menu rendering
[taskasaur.git] / makefile
1
2 CC=gcc
3 CFLAGS=-g -Wall -Wno-unused-variable -Wno-unused-but-set-variable -Wno-switch
4 LIBS=-ltinfo -lncurses -lmd4c
5
6 make: taskasaur
7
8 all: taskasaur
9
10 %.o: %.c headers/%.h config.h 
11         $(CC) $(CFLAGS) -c $< $(LIBS)
12
13 taskasaur: taskasaur.c menu.o parser.o render.o utils.o
14         $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
15
16 clean:
17         rm taskasaur *.o