X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/c7344c22ac700dacf55a8dc729111dd7781c5fed..082537f5bd6b0620ff9b712b9370e5d0c01a61e3:/BuildTests/ModuleTest/makefile diff --git a/BuildTests/ModuleTest/makefile b/BuildTests/ModuleTest/makefile index 6cdd575b0..93a49e8d9 100644 --- a/BuildTests/ModuleTest/makefile +++ b/BuildTests/ModuleTest/makefile @@ -12,6 +12,8 @@ # all module headers in a simple C and C++ # application. +# Path to the LUFA library core +LUFA_PATH = ../../LUFA/ # List of device families per architecture, one device per architecture sub-family AVR8_FAMILIES = at90usb1287 at90usb1286 atmega16u4 atmega16u2 at90usb162 @@ -46,13 +48,13 @@ end: $(MAKE) -s -f makefile.test clean elf ARCH=UC3 MCU=$(@:%.uc3=%) clean: - $(MAKE) -s -f makefile.test clean ARCH=AVR8 - $(MAKE) -s -f makefile.test clean ARCH=XMEGA - $(MAKE) -s -f makefile.test clean ARCH=UC3 + $(MAKE) -s -f makefile.test clean ARCH=AVR8 MCU=$(firstword $(AVR8_FAMILIES)) + $(MAKE) -s -f makefile.test clean ARCH=XMEGA MCU=$(firstword $(XMEGA_FAMILIES)) + $(MAKE) -s -f makefile.test clean ARCH=UC3 MCU=$(firstword $(UC3_FAMILIES)) %: .PHONY: all arch_avr8 arch_xmega arch_uc3 begin end # Include LUFA build script makefiles -include $(LUFA_ROOT_PATH)/LUFA/Build/lufa.core.in +include $(LUFA_PATH)/Build/lufa.core.in