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