Print out system and c compiler version

This commit is contained in:
adamdunkels 2007-11-28 20:05:51 +00:00
parent 6720b41707
commit 20cab2ba22
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,7 @@
all:
@rm -f *.output
@echo Compiling on:
@uname -a
@$(MAKE) -s -k compile || cat *.output
compile: msp430 native

View file

@ -1,3 +1,5 @@
all: hello-world
all: print-version hello-world
CONTIKI = ../../..
include $(CONTIKI)/Makefile.include
print-version:
@$(CC) --version