Print out system and c compiler version
This commit is contained in:
parent
6720b41707
commit
20cab2ba22
2 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
all:
|
all:
|
||||||
@rm -f *.output
|
@rm -f *.output
|
||||||
|
@echo Compiling on:
|
||||||
|
@uname -a
|
||||||
@$(MAKE) -s -k compile || cat *.output
|
@$(MAKE) -s -k compile || cat *.output
|
||||||
|
|
||||||
compile: msp430 native
|
compile: msp430 native
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
all: hello-world
|
all: print-version hello-world
|
||||||
CONTIKI = ../../..
|
CONTIKI = ../../..
|
||||||
include $(CONTIKI)/Makefile.include
|
include $(CONTIKI)/Makefile.include
|
||||||
|
print-version:
|
||||||
|
@$(CC) --version
|
||||||
|
|
Loading…
Reference in a new issue