fix width of output

This commit is contained in:
mario 2016-08-27 13:19:13 +02:00
parent b71b5e8c56
commit 3b852de528

View file

@ -19,16 +19,16 @@ UPDATE_TARGETS=$(foreach x,$(TARGETS),$(x)-update)
CLEAN_TARGETS=$(foreach x,$(TARGETS),$(x)-clean)
all: $(TARGETS)
@$(ECHO) "\t[ALL ]"
@$(ECHO) "\t[ALL ]"
release: $(RELEASE_TARGETS)
@$(ECHO) "\t[RELEASE]
@$(ECHO) "\t[RELEASE]"
bin: $(BIN_TARGETS)
@$(ECHO) "\t[ALLBIN]"
@$(ECHO) "\t[ALLBIN ]"
lib: $(LIB_TARGETS)
@$(ECHO) "\t[ALLLIB]"
@$(ECHO) "\t[ALLLIB ]"
lib-test: $(LIB_TARGETS_TEST)
@ -36,13 +36,13 @@ install: $(INSTALL_TARGETS)
@$(ECHO) "\t[INSTALL]"
update: $(UPDATE_TARGETS)
@$(ECHO) "\t[UPDATE]"
@$(ECHO) "\t[UPDATE ]"
clean: $(CLEAN_TARGETS)
@$(ECHO) "\t[CLEAN ]"
@$(ECHO) "\t[CLEAN ]"
$(TARGETS): %: .FORCE
@$(ECHO) "\t[CARGO ]:\t$@"
@$(ECHO) "\t[CARGO ]:\t$@"
@$(CARGO) build --manifest-path ./$@/Cargo.toml
$(RELEASE_TARGETS): %: .FORCE
@ -50,7 +50,7 @@ $(RELEASE_TARGETS): %: .FORCE
@$(CARGO) build --release --manifest-path ./$(subst -release,,$@)/Cargo.toml
$(LIB_TARGETS_TEST): %: .FORCE
@$(ECHO) "\t[TEST ]:\t$@"
@$(ECHO) "\t[TEST ]:\t$@"
@$(CARGO) test --manifest-path ./$(subst test-,,$@)/Cargo.toml
$(INSTALL_TARGETS): %: .FORCE
@ -58,11 +58,11 @@ $(INSTALL_TARGETS): %: .FORCE
@$(CARGO) install --force --path ./$(subst -install,,$@)
$(UPDATE_TARGETS): %: .FORCE
@$(ECHO) "\t[UPDATE]:\t$(subst -update,,$@)"
@$(ECHO) "\t[UPDATE ]:\t$(subst -update,,$@)"
@$(CARGO) update --manifest-path ./$(subst -update,,$@)/Cargo.toml
$(CLEAN_TARGETS): %: .FORCE
@$(ECHO) "\t[CLEAN]:\t$(subst -clean,,$@)"
@$(ECHO) "\t[CLEAN ]:\t$(subst -clean,,$@)"
@$(CARGO) clean --manifest-path ./$(subst -clean,,$@)/Cargo.toml
.FORCE: