Minor cleanup of the install target

This commit is contained in:
Christophe de Dinechin 2017-11-08 18:03:54 +01:00
parent 5fc3828c61
commit cb72543408
1 changed files with 4 additions and 5 deletions

View File

@ -110,13 +110,15 @@ debug opt release profile: logs.mkdir
# Testing
test tests check: $(TARGET)
$(PRINT_COMMAND) $(MAKE) RECURSE=test $(TESTS:%=%.test) LOG_COMMANDS= TIME=
$(PRINT_COMMAND) $(MAKE) RECURSE=test $(TESTS:%=%.test) LOG_COMMANDS= TIME= $(LOG_COMMANDS)
# Clean builds
startup restart rebuild: clean all
# Installation
install: \
install: all
$(PRINT_COMMAND) $(MAKE) RECURSE=install install-internal recurse LOG_COMMANDS= TIME= $(LOG_COMMANDS)
install-internal: \
$(OBJROOT_EXE:%=%.install_exe) \
$(OBJROOT_LIB:%=%.install_lib) \
$(OBJROOT_DLL:%=%.install_dll) \
@ -125,9 +127,6 @@ install: \
$(DLL_INSTALL:%=%.install_dll) \
$(OBJLIBS:%=%.install_lib) \
$(OBJDLLS:%=%.install_dll)
ifdef SUBDIRS
$(PRINT_COMMAND) $(MAKE) RECURSE=install recurse LOG_COMMANDS= TIME=
endif
clean: hello.clean
-$(PRINT_COMMAND) rm -f $(GARBAGE) $(TOCLEAN) $(OBJECTS) $(DEPENDENCIES) $(OBJPRODUCTS) config.h