]> Pileus Git - lackey/blobdiff - makefile
Add string copy and match functions
[lackey] / makefile
index 9996deebf66058a1d41d60403e06d19def156587..495115dc6202f6cb689d8c4e36f2eeab329a0612 100644 (file)
--- a/makefile
+++ b/makefile
@@ -16,17 +16,20 @@ LDFLAGS   ?= -lncursesw -lical
 
 # Sources
 PROG      ?= lackey
-PROG_SRC  ?= main view date cal util 
+PROG_SRC  ?= main view date cal util
 TEST      ?= test
 TEST_SRC  ?= test date util
 VIEWS     ?= day week month year events todo settings help
 CALS      ?= dummy ical
 
+# For ncursesw
+CPPFLAGS  += $(strip $(shell pkg-config --cflags ncursesw))
+
 # Targets
 all: $(PROG)
 
 clean:
-       rm -f src/*.o views/*.o cals/*.o $(PROG) $(TEST) 
+       rm -f src/*.o views/*.o cals/*.o $(PROG) $(TEST)
 
 dist:
        tar -czf $(PROG)-$(VERSION).tar.gz --transform s::$(PROG)-$(VERSION)/: \