aboutsummaryrefslogtreecommitdiffstats
path: root/BuildTests/ModuleTest/makefile.test
diff options
context:
space:
mode:
Diffstat (limited to 'BuildTests/ModuleTest/makefile.test')
-rw-r--r--BuildTests/ModuleTest/makefile.test15
1 files changed, 7 insertions, 8 deletions
diff --git a/BuildTests/ModuleTest/makefile.test b/BuildTests/ModuleTest/makefile.test
index b3307f897..f92ef9c33 100644
--- a/BuildTests/ModuleTest/makefile.test
+++ b/BuildTests/ModuleTest/makefile.test
@@ -9,10 +9,14 @@
# LUFA Project Makefile.
# --------------------------------------
-MCU = at90usb1287
-ARCH = AVR8
+MCU =
+ARCH =
BOARD = NONE
-F_CPU = 8000000
+F_CPU = $(F_USB)
+OPTIMIZATION = 1
+TARGET = Test
+SRC = $(TARGET)_C.c $(TARGET)_CPP.cpp Dummy.S $(LUFA_SRC_USB)
+LUFA_PATH = ../../LUFA/
ifeq ($(ARCH), AVR8)
F_USB = 8000000
@@ -22,11 +26,6 @@ else ifeq ($(ARCH), UC3)
F_USB = 48000000
endif
-OPTIMIZATION = 1
-TARGET = Test
-SRC = $(TARGET)_C.c $(TARGET)_CPP.cpp Dummy.S $(LUFA_SRC_USB)
-LUFA_PATH = ../../LUFA/
-
# Generic C/C++ compiler flags
CC_FLAGS = -Wextra
CC_FLAGS += -Werror