Fix errors in the SingleUSBModeTest build test. Fix logic errors in USBMode.h.
[pub/USBasp.git] / BuildTests / SingleUSBModeTest / makefile
index 096d4b3..53bdbe0 100644 (file)
@@ -6,11 +6,10 @@
 #           www.lufa-lib.org\r
 #\r
 \r
-# Makefile for the module build test. This test\r
-# attempts to build as many modules as possible\r
-# under all supported architectures, and include\r
-# all module headers in a simple C and C++\r
-# application.\r
+# Makefile for the single USB mode build test.\r
+# This test attempts to build the USB module\r
+# under fixed device and fixed host modes under\r
+# all supported architectures\r
 \r
 # Path to the LUFA library core\r
 LUFA_PATH         = ../../LUFA/\r
@@ -26,18 +25,18 @@ end:
        @echo\r
 \r
 compile:\r
-       $(MAKE) -s -f makefile.test clean elf ARCH=AVR8 MCU=at90usb1287 CCFLAGS='-D USB_DEVICE_ONLY'\r
-       $(MAKE) -s -f makefile.test clean elf ARCH=AVR8 MCU=at90usb1287 CCFLAGS='-D USB_HOST_ONLY'\r
+       $(MAKE) -s -f makefile.test clean elf ARCH=AVR8 MCU=at90usb1287 CC_FLAGS='-D USB_DEVICE_ONLY'\r
+       $(MAKE) -s -f makefile.test clean elf ARCH=AVR8 MCU=at90usb1287 CC_FLAGS='-D USB_HOST_ONLY'\r
 \r
-       $(MAKE) -s -f makefile.test clean elf ARCH=XMEGA MCU=atxmega128a1u CCFLAGS='-D USB_DEVICE_ONLY'\r
+       $(MAKE) -s -f makefile.test clean elf ARCH=XMEGA MCU=atxmega128a1u CC_FLAGS='-D USB_DEVICE_ONLY'\r
        \r
-       $(MAKE) -s -f makefile.test clean elf ARCH=UC3 MCU=uc3a0256 CCFLAGS='-D USB_DEVICE_ONLY'\r
-       $(MAKE) -s -f makefile.test clean elf ARCH=UC3 MCU=uc3a0256 CCFLAGS='-D USB_HOST_ONLY'\r
+       $(MAKE) -s -f makefile.test clean elf ARCH=UC3 MCU=uc3a0256 CC_FLAGS='-D USB_DEVICE_ONLY'\r
+       $(MAKE) -s -f makefile.test clean elf ARCH=UC3 MCU=uc3a0256 CC_FLAGS='-D USB_HOST_ONLY'\r
 \r
 clean:\r
-       $(MAKE) -s -f makefile.test clean ARCH=AVR8\r
-       $(MAKE) -s -f makefile.test clean ARCH=XMEGA\r
-       $(MAKE) -s -f makefile.test clean ARCH=UC3\r
+       $(MAKE) -s -f makefile.test clean ARCH=AVR8 MCU=at90usb1287\r
+       $(MAKE) -s -f makefile.test clean ARCH=XMEGA MCU=atxmega128a1u\r
+       $(MAKE) -s -f makefile.test clean ARCH=UC3 MCU=uc3a0256\r
 \r
 %:\r
 \r