# lackey - curses calendar program
-# See COPYING file for copyright and license details.
+# See COPYING file for license details.
-include config.mk
# 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
$(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