Avoid multiple inclusion

This commit is contained in:
adamdunkels 2010-10-24 21:12:52 +00:00
parent 726bd0e58e
commit 098fc8d698

View file

@ -1,3 +1,5 @@
ifndef MAKEFILE_POWERTRACE
MAKEFILE_POWERTRACE = 1
ifdef LOG ifdef LOG
powertrace-parse: powertrace-parse:
cat $(LOG) | grep -a "P " | $(CONTIKI)/tools/powertrace/parse-power-data > powertrace-data cat $(LOG) | grep -a "P " | $(CONTIKI)/tools/powertrace/parse-power-data > powertrace-data
@ -52,3 +54,4 @@ powertrace-help:
@echo @echo
@echo make powertrace-all LOG=logfile @echo make powertrace-all LOG=logfile
@echo @echo
endif # MAKEFILE_POWERTRACE