]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/make/avr/avr.rules
Fixed some bugs with the tinyos-tools that have crept in due to incompatibilities...
[tinyos-2.x.git] / support / make / avr / avr.rules
index a8c5d025884e010d877fcdd857d93649df303bba..11e3b6d43c16beb0de8d5f7eeb2350bfa4b9b0d3 100644 (file)
@@ -100,7 +100,7 @@ $(if $(PROGRAM),,$(call TOSMake_include,avr/$(DEFAULT_PROGRAM).extra))
 ifneq ($(wildcard $(VOLUMEFILE)), )
 build_storage: $(BUILDDIR)/StorageVolumes.h
 
-exe0: build_storage
+exe0: build_storage 
 
 VOLUME_ALLOCATOR_FLAGS ?= 
 $(BUILDDIR)/StorageVolumes.h: $(VOLUMEFILE)
@@ -140,7 +140,7 @@ ihex: exe FORCE
 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) $(NCC_SAFE_TINYOS_FLAGS) $(OPTFLAGS) $(PFLAGS) $(CFLAGS) $(WIRING_CHECK_FLAGS) $(COMPONENT).nc $(LIBS) $(LDFLAGS)
 ifdef WIRING_CHECK_FILE