X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/3ca025f214cdfb5b9815fd20e9443be1ad365e0e..f2740a66bafa876dfcf2cdfa4c6f3e17395e8bf8:/BuildTests/SingleUSBModeTest/makefile.test?ds=sidebyside diff --git a/BuildTests/SingleUSBModeTest/makefile.test b/BuildTests/SingleUSBModeTest/makefile.test index 800e3c3a6..3702d742a 100644 --- a/BuildTests/SingleUSBModeTest/makefile.test +++ b/BuildTests/SingleUSBModeTest/makefile.test @@ -1,6 +1,6 @@ # # LUFA Library -# Copyright (C) Dean Camera, 2012. +# Copyright (C) Dean Camera, 2018. # # dean [at] fourwalledcubicle [dot] com # www.lufa-lib.org @@ -9,18 +9,20 @@ # LUFA Project Makefile. # -------------------------------------- -MCU = -ARCH = +# Run "make help" for target help. + +MCU = +ARCH = BOARD = NONE F_CPU = $(F_USB) DEBUG_LEVEL = 0 ifeq ($(ARCH), AVR8) - F_USB = 8000000 + F_USB = 8000000 else ifeq ($(ARCH), XMEGA) - F_USB = 48000000 + F_USB = 48000000 else ifeq ($(ARCH), UC3) - F_USB = 48000000 + F_USB = 48000000 endif OPTIMIZATION = 1 @@ -47,7 +49,7 @@ CC_FLAGS += -Woverlength-strings # Only enable rendundant declaration warnings for AVR8 target (FIXME) ifeq ($(ARCH), AVR8) -CC_FLAGS += -Wredundant-decls + CC_FLAGS += -Wredundant-decls endif # C compiler only flags @@ -62,6 +64,12 @@ C_FLAGS += -Wnested-externs #CC_FLAGS += -Wjump-misses-init #CC_FLAGS += -pedantic -# Include LUFA build script makefiles -include $(LUFA_PATH)/Build/lufa_sources.mk -include $(LUFA_PATH)/Build/lufa_build.mk \ No newline at end of file +# Include LUFA-specific DMBS extension modules +DMBS_LUFA_PATH ?= $(LUFA_PATH)/Build/LUFA +include $(DMBS_LUFA_PATH)/lufa-sources.mk +include $(DMBS_LUFA_PATH)/lufa-gcc.mk + +# Include common DMBS build system modules +DMBS_PATH ?= $(LUFA_PATH)/Build/DMBS/DMBS +include $(DMBS_PATH)/core.mk +include $(DMBS_PATH)/gcc.mk