diff options
author | Bert Münnich <ber.t@posteo.de> | 2017-10-16 21:19:22 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2017-10-16 21:19:22 +0200 |
commit | 1ace4fb09c8a315308938c15161a84e7a6cdb52d (patch) | |
tree | b58fb6713ff4e7817b203f5520d1a7ffa00d0526 | |
parent | 24cf812bb2616b908b4f3501fca2bb0f7f092949 (diff) |
No more automatic dependency tracking
The new Makefile should work with the make programs shipped with FreeBSD,
NetBSD and OpenBSD.
-rw-r--r-- | Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -1,5 +1,3 @@ -# Works best with GNU make 3.80 or later - VERSION = git-20171016 srcdir = . @@ -49,15 +47,15 @@ sxiv: $(OBJS) @echo "LINK $@" $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS) $(LDLIBS) -$(OBJS): config.h $(srcdir)/Makefile +$(OBJS): $(srcdir)/Makefile $(srcdir)/sxiv.h config.h .c.o: @echo "CC $@" - $(CC) $(ALL_CPPFLAGS) $(DEPFLAGS) $(CFLAGS) -c -o $@ $< + $(CC) $(ALL_CPPFLAGS) $(CFLAGS) -c -o $@ $< %.o: $(srcdir)/%.c @echo "CC $@" - $(CC) $(ALL_CPPFLAGS) $(DEPFLAGS) $(CFLAGS) -c -o $@ $(srcdir)/$(@:.o=.c) + $(CC) $(ALL_CPPFLAGS) $(CFLAGS) -c -o $@ $(srcdir)/$(@:.o=.c) config.h: @echo "GEN $@" @@ -89,5 +87,3 @@ uninstall: @echo "REMOVE share/sxiv/" rm -rf $(DESTDIR)$(PREFIX)/share/sxiv --include $(DEPS) - |