Skip to content

Commit

Permalink
out-of-tree-builds: make src/ an order-only dependency
Browse files Browse the repository at this point in the history
otherwise files get rebuilt all the time due to the
directory contents being updated

Signed-off-by: Wolfgang Bumiller <[email protected]>
  • Loading branch information
Blub committed Dec 3, 2021
1 parent 68e648e commit 6f66a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ clean:
$(CURDIR)/doc $(CURDIR)/src:
mkdir -p $@

$(OBJECTS): Makefile config.h $(CURDIR)/src
$(OBJECTS): Makefile config.h | $(CURDIR)/src
$(MAN1PAGES): $(CURDIR)/doc

-include src/*.d

0 comments on commit 6f66a6b

Please sign in to comment.