diff options
author | Bert Münnich <ber.t@posteo.de> | 2017-10-08 20:23:16 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2017-10-08 20:23:16 +0200 |
commit | 171633de32eaa7cdd3039e4abf830f2b08ac7fe3 (patch) | |
tree | 79c176076e0e725c8766c2f5432204a514ca3e48 /Makefile | |
parent | 2bf8f2ac4256e155db420f67a3937f54399ff8fe (diff) |
Get rid of SRCDIR macro, VPATH on make cmd line suffices
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -4,8 +4,6 @@ all: sxiv include config.mk -VPATH := $(SRCDIR) - CPPFLAGS += -I. -DVERSION=\"$(VERSION)\" -DHAVE_GIFLIB=$(HAVE_GIFLIB) -DHAVE_LIBEXIF=$(HAVE_LIBEXIF) DEPFLAGS := -MMD -MP @@ -28,9 +26,9 @@ $(OBJ): config.h Makefile @echo "CC $@" $(CC) $(CFLAGS) $(CPPFLAGS) $(DEPFLAGS) -c -o $@ $< -config.h: +config.h: | config.def.h @echo "GEN $@" - cp $(SRCDIR)/config.def.h $@ + cp $| $@ sxiv: $(OBJ) @echo "LINK $@" |