X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=makefile;h=5dde712bc6c3a0af533208cf76b0356f56e421b2;hb=f3ee8b7432fadc415514747ab1fd5dc375188f7f;hp=ec91b830da4a2d8d1e50e99f47a53a7bd851aa82;hpb=a8c24ecfdee86b9ea9c35469f717fa3cf1b9b6ab;p=lackey diff --git a/makefile b/makefile index ec91b83..5dde712 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,5 @@ # lackey - curses calendar program -# See COPYING file for copyright and license details. +# See COPYING file for license details. -include config.mk @@ -16,10 +16,10 @@ LDFLAGS ?= -lncursesw -lical # Sources PROG ?= lackey -PROG_SRC ?= main view date cal util +PROG_SRC ?= main view date cal conf util TEST ?= test -TEST_SRC ?= test date cal util -VIEWS ?= day week month year events todo settings help +TEST_SRC ?= test date cal conf util +VIEWS ?= day week month year events todo settings help edit CALS ?= dummy ical # For ncursesw @@ -57,7 +57,7 @@ $(PROG): $(PROG_SRC:%=src/%.o) $(VIEWS:%=views/%.o) $(CALS:%=cals/%.o) $(TEST): $(TEST_SRC:%=src/%.o) $(CALS:%=cals/%.o) $(GCC) $(CFLAGS) -o $@ $+ $(LDFLAGS) -%.o: %.c $(wildcard src/*.h) makefile +%.o: %.c $(wildcard src/*.h makefile config.mk) $(GCC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< .PHONY: all clean dist install uninstall