Add new ARCH option to the makefiles to (eventually) specify the target device archit...
[pub/USBasp.git] / Projects / MIDIToneGenerator / makefile
index 7aee785..6e1a2a3 100644 (file)
 MCU = at90usb1287\r
 \r
 \r
+# Target architecture (see library "Board Types" documentation).\r
+ARCH = AVR8\r
+\r
+\r
 # Target board (see library "Board Types" documentation, NONE for projects not requiring\r
 # LUFA board drivers). If USER is selected, put custom board drivers in a directory called\r
 # "Board" inside the application directory.\r
@@ -181,7 +185,7 @@ CSTANDARD = -std=c99
 # Place -D or -U options here for C sources\r
 CDEFS  = -DF_CPU=$(F_CPU)UL\r
 CDEFS += -DF_CLOCK=$(F_CLOCK)UL\r
-CDEFS += -DBOARD=BOARD_$(BOARD)\r
+CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)\r
 CDEFS += $(LUFA_OPTS)\r
 \r
 \r