Fix the output directory printout for install targets
This commit is contained in:
parent
c033da2d47
commit
5fc3828c61
14
rules.mk
14
rules.mk
|
@ -202,12 +202,14 @@ product.test: product .ALWAYS
|
|||
$(PRINT_TEST) $(TEST_ENV) $(TEST_CMD_$*) $(OBJROOT)/$*$(EXE_EXT) $(TEST_ARGS_$*)
|
||||
|
||||
# Installing the product: always need to build it first
|
||||
%.install_exe: build
|
||||
$(PRINT_INSTALL) mkdir -p $(PREFIX_BIN) && $(INSTALL) $* $(PREFIX_BIN)
|
||||
%.install_lib: build $(PREFIX_LIB).mkdir
|
||||
$(PRINT_INSTALL) mkdir -p $(PREFIX_LIB) && $(INSTALL) $* $(PREFIX_LIB)
|
||||
%.install_dll: build
|
||||
$(PRINT_INSTALL) mkdir -p $(PREFIX_DLL) && $(INSTALL) $* $(PREFIX_DLL)
|
||||
%.install_exe: $(PREFIX_BIN).mkdir build
|
||||
$(PRINT_INSTALL) $(INSTALL) $* $(PREFIX_BIN)
|
||||
%.install_lib: $(PREFIX_LIB).mkdir build
|
||||
$(PRINT_INSTALL) $(INSTALL) $* $(PREFIX_LIB)
|
||||
%.install_dll: $(PREFIX_DLL).mkdir build
|
||||
$(PRINT_INSTALL) $(INSTALL) $* $(PREFIX_DLL)
|
||||
$(PREFIX)%.mkdir:
|
||||
$(PRINT_COMMAND) mkdir -p $(PREFIX)$*
|
||||
|
||||
# Benchmarking (always done with profile target)
|
||||
benchmark: $(BENCHMARK:%=%.benchmark) $(BENCHMARKS:%=%.benchmark)
|
||||
|
|
Loading…
Reference in New Issue