pinosaur
/
taskasaur.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changes in popup menu is now preserved
[taskasaur.git]
/
makefile
diff --git
a/makefile
b/makefile
index
af84c6b
..
33e5495
100644
(file)
--- a/
makefile
+++ b/
makefile
@@
-1,11
+1,17
@@
-CPPC=g++
+
CC=gcc
CC=gcc
+CFLAGS=-g -Wall -Wno-unused-variable -Wno-unused-but-set-variable -Wno-switch
+LIBS=-ltinfo -lncurses -lmd4c
+
+make: taskasaur
+
+all: taskasaur
-make: main
+%.o: %.c headers/%.h config.h
+ $(CC) $(CFLAGS) -c $< $(LIBS)
-main:
- #$(CPPC) -lncurses main.cpp -o main
- $(CC) -lncurses main.c -o main
+taskasaur: taskasaur.c menu.o parser.o render.o utils.o
+ $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
clean:
clean:
- rm
main
+ rm
taskasaur *.o