|
@@ -1,5 +1,3 @@ |
|
|
# Works best with GNU make 3.80 or later |
|
|
|
|
|
|
|
|
|
|
|
VERSION = git-20171016 |
|
|
VERSION = git-20171016 |
|
|
|
|
|
|
|
|
srcdir = . |
|
|
srcdir = . |
|
@@ -49,15 +47,15 @@ sxiv: $(OBJS) |
|
|
@echo "LINK $@" |
|
|
@echo "LINK $@" |
|
|
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS) $(LDLIBS) |
|
|
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS) $(LDLIBS) |
|
|
|
|
|
|
|
|
$(OBJS): config.h $(srcdir)/Makefile |
|
|
|
|
|
|
|
|
$(OBJS): $(srcdir)/Makefile $(srcdir)/sxiv.h config.h |
|
|
|
|
|
|
|
|
.c.o: |
|
|
.c.o: |
|
|
@echo "CC $@" |
|
|
@echo "CC $@" |
|
|
$(CC) $(ALL_CPPFLAGS) $(DEPFLAGS) $(CFLAGS) -c -o $@ $< |
|
|
|
|
|
|
|
|
$(CC) $(ALL_CPPFLAGS) $(CFLAGS) -c -o $@ $< |
|
|
|
|
|
|
|
|
%.o: $(srcdir)/%.c |
|
|
%.o: $(srcdir)/%.c |
|
|
@echo "CC $@" |
|
|
@echo "CC $@" |
|
|
$(CC) $(ALL_CPPFLAGS) $(DEPFLAGS) $(CFLAGS) -c -o $@ $(srcdir)/$(@:.o=.c) |
|
|
|
|
|
|
|
|
$(CC) $(ALL_CPPFLAGS) $(CFLAGS) -c -o $@ $(srcdir)/$(@:.o=.c) |
|
|
|
|
|
|
|
|
config.h: |
|
|
config.h: |
|
|
@echo "GEN $@" |
|
|
@echo "GEN $@" |
|
@@ -89,5 +87,3 @@ uninstall: |
|
|
@echo "REMOVE share/sxiv/" |
|
|
@echo "REMOVE share/sxiv/" |
|
|
rm -rf $(DESTDIR)$(PREFIX)/share/sxiv |
|
|
rm -rf $(DESTDIR)$(PREFIX)/share/sxiv |
|
|
|
|
|
|
|
|
-include $(DEPS) |
|
|
|
|
|
|
|
|
|