#-*-Makefile-*- vim:syntax=make
#$Id: Makedefaults,v 1.8 2005/08/02 15:15:02 jwhui Exp $

DEFAULT_LOCAL_GROUP ?= 0x7d
NESC_FLAGS ?= -Wnesc-all
GOALS += ident_flags tos_image bnp

ifneq ($(filter mica2 mica2dot micaz telos telosa telosb tmote,$(GOALS)),)
  TINYOS_NP ?= BNP
endif

define DEFAULT_HELP

 Welcome to the TinyOS make system!

 You must specify one of the valid targets and possibly some combination of
 the extra options.  Many targets have custom extras and extended help, so be
 sure to try "make <target> help" to learn of all the available features.

 Global extras:

   docs    : compile additional nescdoc documentation
   tinysec : compile with TinySec secure communication

endef
HELP += $(DEFAULT_HELP)

