Show enlistment branch in makefiles

This commit is contained in:
David Brown 2016-08-12 15:01:36 +01:00
parent aa0ec53964
commit 021f1f0798
2 changed files with 2 additions and 0 deletions

View file

@ -106,6 +106,7 @@ configuration: FORCE
@./a.o
@rm a.o
@echo BRANCH=$$(git rev-parse --abbrev-ref HEAD)>>Configuration.Make
@echo Branch: $$(git rev-parse --abbrev-ref HEAD).

View file

@ -45,6 +45,7 @@ clean:
assemble:
@printf "\nmake assemble - compiling Oberon compiler c source:\n"
@printf " VERSION: %s\n" "$(VERSION)"
@printf " BRANCH: %s\n" "$(BRANCH)"
@printf " Target characeristics:\n"
@printf " PLATFORM: %s\n" "$(PLATFORM)"
@printf " OS: %s\n" "$(OS)"