pinosaur
/
taskasaur.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix sig
[taskasaur.git]
/
makefile
diff --git
a/makefile
b/makefile
index
ac7d51b
..
810a1a4
100644
(file)
--- a/
makefile
+++ b/
makefile
@@
-1,16
+1,17
@@
CC=gcc
CFLAGS=-g -Wall -Wno-unused-variable -Wno-switch
CC=gcc
CFLAGS=-g -Wall -Wno-unused-variable -Wno-switch
+LIBS=-lncursesw -lmd4c
make: taskasaur
all: taskasaur
%.o: %.c headers/%.h config.h
make: taskasaur
all: taskasaur
%.o: %.c headers/%.h config.h
- $(CC) $(CFLAGS) -c $<
+ $(CC) $(CFLAGS) -c $<
$(LIBS)
taskasaur: taskasaur.c menu.o parser.o render.o utils.o
taskasaur: taskasaur.c menu.o parser.o render.o utils.o
- $(CC) $(CFLAGS) -o $@ $^
-lncurses -lmd4c
+ $(CC) $(CFLAGS) -o $@ $^
$(LIBS)
clean:
rm taskasaur *.o
clean:
rm taskasaur *.o