]> Sergey Matveev's repositories - nnn.git/commitdiff
rebuild if Makefile changes
authorNRK <nrk@disroot.org>
Thu, 3 Feb 2022 16:20:55 +0000 (22:20 +0600)
committerNRK <nrk@disroot.org>
Thu, 3 Feb 2022 16:20:55 +0000 (22:20 +0600)
Makefile

index c6edbfa39cc0ea65e04860cc931d2fee745e52fa..a155cf47d850a6ed6347e83b7892e5e0f860315e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -172,7 +172,7 @@ endif
 
 all: $(BIN)
 
-$(BIN): $(SRC) $(HEADERS)
+$(BIN): $(SRC) $(HEADERS) Makefile
        @$(MAKE) --silent prepatch
        $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $(GETTIME_C) $< $(LDLIBS)
        @$(MAKE) --silent postpatch