diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,4 +1,4 @@ -VERSION = git-20141001 +VERSION = git-20141024 PREFIX = /usr/local MANPREFIX = $(PREFIX)/share/man @@ -16,6 +16,14 @@ all: sxiv $(OBJ): Makefile config.h +depend: .depend + +.depend: $(SRC) + rm -f ./.depend + $(CC) $(CFLAGS) -MM $^ >./.depend + +include .depend + .c.o: $(CC) $(CFLAGS) $(CPPFLAGS) -DVERSION=\"$(VERSION)\" -c -o $@ $< |