Avoid multiple inclusion

This commit is contained in:
adamdunkels 2010-10-24 21:12:52 +00:00
parent 726bd0e58e
commit 098fc8d698
1 changed files with 3 additions and 0 deletions

View File

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