|
@@ -4,8 +4,6 @@ all: sxiv |
|
|
|
|
|
|
|
|
include config.mk |
|
|
include config.mk |
|
|
|
|
|
|
|
|
VPATH := $(SRCDIR) |
|
|
|
|
|
|
|
|
|
|
|
CPPFLAGS += -I. -DVERSION=\"$(VERSION)\" -DHAVE_GIFLIB=$(HAVE_GIFLIB) -DHAVE_LIBEXIF=$(HAVE_LIBEXIF) |
|
|
CPPFLAGS += -I. -DVERSION=\"$(VERSION)\" -DHAVE_GIFLIB=$(HAVE_GIFLIB) -DHAVE_LIBEXIF=$(HAVE_LIBEXIF) |
|
|
DEPFLAGS := -MMD -MP |
|
|
DEPFLAGS := -MMD -MP |
|
|
|
|
|
|
|
@@ -28,9 +26,9 @@ $(OBJ): config.h Makefile |
|
|
@echo "CC $@" |
|
|
@echo "CC $@" |
|
|
$(CC) $(CFLAGS) $(CPPFLAGS) $(DEPFLAGS) -c -o $@ $< |
|
|
$(CC) $(CFLAGS) $(CPPFLAGS) $(DEPFLAGS) -c -o $@ $< |
|
|
|
|
|
|
|
|
config.h: |
|
|
|
|
|
|
|
|
config.h: | config.def.h |
|
|
@echo "GEN $@" |
|
|
@echo "GEN $@" |
|
|
cp $(SRCDIR)/config.def.h $@ |
|
|
|
|
|
|
|
|
cp $| $@ |
|
|
|
|
|
|
|
|
sxiv: $(OBJ) |
|
|
sxiv: $(OBJ) |
|
|
@echo "LINK $@" |
|
|
@echo "LINK $@" |
|
|