Created
January 4, 2024 06:49
-
-
Save ejohnso49/b68cf4e1d936cb105961f74a71d80d2e to your computer and use it in GitHub Desktop.
Target built when flags change
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: force | |
$(TEST_TARGET).flags: force Makefile | |
$(SILENCE)mkdir -p $(dir $@) | |
$(SILENCE)echo '$(RAW_FLAGS)' | cmp -s - $@ || echo '$(RAW_FLAGS)' > $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment