]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/make/Makerules
added more documentation to the getTime32 function
[tinyos-2.x.git] / support / make / Makerules
index 6c48f9a0522bdfc1c972d011912e5a3ffcb55a86..ae3b9d3e47b21f39d07d30f4b23215618d5040a9 100644 (file)
@@ -49,7 +49,9 @@ TINYOS_MAKELOCAL ?= $(TINYOS_MAKE_PATH)/Makelocal
 TINYOS_MAKEDEFAULTS ?= $(TINYOS_MAKE_PATH)/Makedefaults
 
 #  Allow users to specify additional directories to find TOSMake files.
-TOSMAKE_PATH += $(TINYOS_MAKE_PATH)
+TOSMAKE_TEMP_PATH := $(TOSMAKE_PATH)
+TOSMAKE_PATH = $(TINYOS_MAKE_PATH) 
+TOSMAKE_PATH += $(TOSMAKE_TEMP_PATH)
 
 #  Save makecmdgoals (a read only var) to goals so that we can modify it.
 GOALS += $(MAKECMDGOALS)
@@ -185,6 +187,9 @@ endef
 $(error $(USAGE)Thank you)
 endif
 
+$(COMPONENT).nc:
+       @echo "ERROR: You need to create a top level file called $(COMPONENT).nc, or modify your local Makefile to point to the real name of your top level component."
+       @false
 
 .PHONY: FORCE