Skip to content

Commit 583de27

Browse files
committed
Makefile: make sure cargo build is always ran
The build targets only depend on the init binary target, so running `make` after changing some other part of the source code doesn't trigger a rebuild. Make the LIBRARY_RELEASE_* and LIBRARY_DEBUG_* targets .PHONY to make sure the library is always rebuilt when running `make`. Signed-off-by: Matej Hrica <[email protected]>
1 parent ced5f36 commit 583de27

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)