Skip to content

Commit

Permalink
Use buildprefix
Browse files Browse the repository at this point in the history
Co-authored-by: John Ericson <[email protected]>
  • Loading branch information
edolstra and Ericson2314 authored Feb 7, 2024
1 parent 905ab32 commit 601d98e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mk/templates.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ endef

ifneq ($(MAKECMDGOALS), clean)

$(buildprefix)%.h: %.h.in config.status
$(buildprefix)%.h: %.h.in $(buildprefix)config.status
$(trace-gen) rm -f $@ && cd $(buildprefixrel) && ./config.status --quiet --header=$(@:$(buildprefix)%=%)

$(buildprefix)%: %.in config.status
$(buildprefix)%: %.in $(buildprefix)config.status
$(trace-gen) rm -f $@ && cd $(buildprefixrel) && ./config.status --quiet --file=$(@:$(buildprefix)%=%)

endif

0 comments on commit 601d98e

Please sign in to comment.