new feature "HAVE_UNPRECISEWAIT" for save some flash
[pub/USBaspLoader.git] / firmware / Makefile
index 6808086..ba588dd 100644 (file)
@@ -17,8 +17,6 @@
 
 include ../Makefile.inc
 
-# Options:
-DEFINES = #-DDEBUG_LEVEL=2
 # Remove the -fno-* options when you use gcc 3, it does not understand them
 CFLAGS = -Wall -Os -fno-move-loop-invariants -fno-tree-scev-cprop -fno-inline-small-functions -I. -mmcu=$(DEVICE) -DBOOTLOADER_ADDRESS=$(BOOTLOADER_ADDRESS) -DF_CPU=$(F_CPU) $(DEFINES)
 LDFLAGS = -Wl,--relax,--gc-sections -Wl,--section-start=.text=$(BOOTLOADER_ADDRESS)
@@ -70,7 +68,7 @@ clean:
        $(RM) usbdrv/usbdrv.s
 
 # file targets:
-main.bin:      $(OBJECTS)
+main.bin:      $(OBJECTS) bootloaderconfig.h
        $(CC) $(CFLAGS) -o main.bin $(OBJECTS) $(LDFLAGS)
 
 main.hex:      main.bin