X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=makefile;h=5dde712bc6c3a0af533208cf76b0356f56e421b2;hb=4fc97c527e3f565ef40d814c16ef5a9058712bc0;hp=244b08b71f633c786b75196e75bde5aa488088a3;hpb=ad3e3885a9c00768653a3a80d5cbd3d4f61de512;p=lackey diff --git a/makefile b/makefile index 244b08b..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 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