build(makefile): ensure uninstall before install
This commit is contained in:
		
							parent
							
								
									5b5ded25c9
								
							
						
					
					
						commit
						30ed3ed5e2
					
				
							
								
								
									
										6
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								Makefile
									
									
									
									
									
								
							| @ -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 | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user