Skip to content

Commit

Permalink
Avoid multiple inclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdunkels committed Oct 24, 2010
1 parent 726bd0e commit 098fc8d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/powertrace/Makefile.powertrace
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -52,3 +54,4 @@ powertrace-help:
@echo
@echo make powertrace-all LOG=logfile
@echo
endif # MAKEFILE_POWERTRACE

0 comments on commit 098fc8d

Please sign in to comment.