X-Git-Url: http://git.linex4red.de/pub/USBaspLoader.git/blobdiff_plain/b7de3770899b97a038fa570bc453449de92c3516..c2df4584d6bc82ef8c793eaaffc0acead7f8410c:/firmware/Makefile diff --git a/firmware/Makefile b/firmware/Makefile index 6808086..ba588dd 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -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