X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/2b332d3231d54236e093dd6bfde5421ce26f7304..082537f5bd6b0620ff9b712b9370e5d0c01a61e3:/BuildTests/ModuleTest/makefile diff --git a/BuildTests/ModuleTest/makefile b/BuildTests/ModuleTest/makefile index 170c93014..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,9 +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)) %: - \ No newline at end of file + +.PHONY: all arch_avr8 arch_xmega arch_uc3 begin end + +# Include LUFA build script makefiles +include $(LUFA_PATH)/Build/lufa.core.in