Skip to content

Commit 72fc21e

Browse files
committed
Fix incremental builds using make
Add .PHONY to to the release and debug library targets so running make does the right thing after changing the source. It is possible to use cargo directly, but this means a developer need to also run the more commands manually for each build which is error prone. Signed-off-by: Nir Soffer <[email protected]>
1 parent 8046252 commit 72fc21e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ ifeq ($(PREFIX),)
7474
PREFIX := /usr/local
7575
endif
7676

77-
.PHONY: install clean
77+
.PHONY: install clean $(LIBRARY_RELEASE_$(OS)) $(LIBRARY_DEBUG_$(OS))
7878

7979
all: $(LIBRARY_RELEASE_$(OS)) libkrun.pc
8080

0 commit comments

Comments
 (0)