build(makefile): ensure uninstall before install

This commit is contained in:
John Zhao 2019-02-25 12:12:19 +08:00
parent 5b5ded25c9
commit 30ed3ed5e2

View File

@ -130,7 +130,7 @@ endif
# install # install
install: build install: uninstall build
@$(call echo,Make $@) @$(call echo,Make $@)
ifeq ($(HOST_OS),Win) ifeq ($(HOST_OS),Win)
ifneq ($(HOST_NAME),MinGW) ifneq ($(HOST_NAME),MinGW)
@ -176,8 +176,8 @@ ifeq ($(HOST_OS),Mac)
else else
@$(call cmake_build,./tools/_build) @$(call cmake_build,./tools/_build)
endif endif
.PHONY: tools .PHONY: tools