Skip to content

Commit

Permalink
Makefile: add dummy target for build.ninja dependencies
Browse files Browse the repository at this point in the history
The dummy targets ensure that incremental build can be done after
deleting a meson.build file.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
bonzini committed Jan 2, 2021
1 parent e921f1a commit fc5db02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -133,6 +133,7 @@ Makefile.ninja: build.ninja

# A separate rule is needed for Makefile dependencies to avoid -n
build.ninja: build.ninja.stamp
$(build-files):
build.ninja.stamp: meson.stamp $(build-files)
$(NINJA) $(if $V,-v,) build.ninja && touch $@
endif
Expand Down

0 comments on commit fc5db02

Please sign in to comment.