X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/d475ea4394ba0e16f89300ebeb452cea7c2d9232..b462f2d457ec2f0cfa22a1c3db198cb22f6809a1:/Projects/MissileLauncher/makefile?ds=inline diff --git a/Projects/MissileLauncher/makefile b/Projects/MissileLauncher/makefile index 045266a44..e7ec35a00 100644 --- a/Projects/MissileLauncher/makefile +++ b/Projects/MissileLauncher/makefile @@ -122,6 +122,13 @@ OBJDIR = . LUFA_PATH = ../.. +# LUFA library compile-time options +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_HOST_ONLY +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" + + # List C source files here. (C dependencies are automatically generated.) SRC = $(TARGET).c \ ConfigDescriptor.c \ @@ -183,9 +190,8 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) -CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_HOST_ONLY -CDEFS += -DUSE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) + # Place -D or -U options here for ASM sources ADEFS = -DF_CPU=$(F_CPU)