]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/make/null/null.rules
Fixed some bugs with the tinyos-tools that have crept in due to incompatibilities...
[tinyos-2.x.git] / support / make / null / null.rules
index 6514cec517a410a14bff1d9f179648a4c5cc5606..0682c26b97eab8f3eb97565415d9c5b38aff7ddb 100644 (file)
@@ -45,7 +45,7 @@ BUILDLESS_DEPS += bytes
 ifneq ($(wildcard $(VOLUMEFILE)), )
 build_storage: $(BUILDDIR)/StorageVolumes.h
 
-exe0: build_storage
+exe0: build_storage 
 
 $(BUILDDIR)/StorageVolumes.h: $(VOLUMEFILE)
        $(VOLUME_ALLOCATOR) $(VOLUME_ALLOCATOR_FLAGS) <$(VOLUMEFILE) >$@
@@ -66,7 +66,7 @@ endif
 exe: exe0 bytes FORCE
        @:
 
-exe0: builddir $(BUILD_EXTRA_DEPS) FORCE
+exe0: builddir $(BUILD_EXTRA_DEPS) $(COMPONENT).nc FORCE
        @echo "    compiling $(COMPONENT) to a $(PLATFORM) binary"
        $(NCC) -o $(MAIN_EXE) $(OPTFLAGS) $(PFLAGS) $(CFLAGS) $(COMPONENT).nc $(LIBS) $(LDFLAGS)
        @echo "    compiled $(COMPONENT) to $(MAIN_EXE)"