mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 07:32:24 +00:00
Show enlistment branch in makefiles
This commit is contained in:
parent
aa0ec53964
commit
021f1f0798
2 changed files with 2 additions and 0 deletions
1
makefile
1
makefile
|
|
@ -106,6 +106,7 @@ configuration: FORCE
|
||||||
@./a.o
|
@./a.o
|
||||||
@rm a.o
|
@rm a.o
|
||||||
@echo BRANCH=$$(git rev-parse --abbrev-ref HEAD)>>Configuration.Make
|
@echo BRANCH=$$(git rev-parse --abbrev-ref HEAD)>>Configuration.Make
|
||||||
|
@echo Branch: $$(git rev-parse --abbrev-ref HEAD).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,7 @@ clean:
|
||||||
assemble:
|
assemble:
|
||||||
@printf "\nmake assemble - compiling Oberon compiler c source:\n"
|
@printf "\nmake assemble - compiling Oberon compiler c source:\n"
|
||||||
@printf " VERSION: %s\n" "$(VERSION)"
|
@printf " VERSION: %s\n" "$(VERSION)"
|
||||||
|
@printf " BRANCH: %s\n" "$(BRANCH)"
|
||||||
@printf " Target characeristics:\n"
|
@printf " Target characeristics:\n"
|
||||||
@printf " PLATFORM: %s\n" "$(PLATFORM)"
|
@printf " PLATFORM: %s\n" "$(PLATFORM)"
|
||||||
@printf " OS: %s\n" "$(OS)"
|
@printf " OS: %s\n" "$(OS)"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue