aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/DualRole
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2016-04-03 14:51:48 +1000
committerDean Camera <dean@fourwalledcubicle.com>2016-04-03 15:24:34 +1000
commit0ecd09c3e1d1ed47c940541c41b79815b16bd627 (patch)
tree92981428a8988dac8b71d07fd02d2927ebdec607 /Demos/DualRole
parent51d3adfe1869e4a45c8368bb00a485be052eecdb (diff)
downloadlufa-0ecd09c3e1d1ed47c940541c41b79815b16bd627.tar.gz
lufa-0ecd09c3e1d1ed47c940541c41b79815b16bd627.tar.bz2
lufa-0ecd09c3e1d1ed47c940541c41b79815b16bd627.zip
Add LUFA DMBS extension modules, use DMBS in project makefiles.
Diffstat (limited to 'Demos/DualRole')
-rw-r--r--Demos/DualRole/ClassDriver/MouseHostDevice/makefile25
1 files changed, 15 insertions, 10 deletions
diff --git a/Demos/DualRole/ClassDriver/MouseHostDevice/makefile b/Demos/DualRole/ClassDriver/MouseHostDevice/makefile
index 62d564036..158bc959f 100644
--- a/Demos/DualRole/ClassDriver/MouseHostDevice/makefile
+++ b/Demos/DualRole/ClassDriver/MouseHostDevice/makefile
@@ -26,13 +26,18 @@ LD_FLAGS =
# Default target
all:
-# Include LUFA build script makefiles
-include $(LUFA_PATH)/Build/lufa_core.mk
-include $(LUFA_PATH)/Build/lufa_sources.mk
-include $(LUFA_PATH)/Build/lufa_build.mk
-include $(LUFA_PATH)/Build/lufa_cppcheck.mk
-include $(LUFA_PATH)/Build/lufa_doxygen.mk
-include $(LUFA_PATH)/Build/lufa_dfu.mk
-include $(LUFA_PATH)/Build/lufa_hid.mk
-include $(LUFA_PATH)/Build/lufa_avrdude.mk
-include $(LUFA_PATH)/Build/lufa_atprogram.mk
+# 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)/cppcheck.mk
+include $(DMBS_PATH)/doxygen.mk
+include $(DMBS_PATH)/dfu.mk
+include $(DMBS_PATH)/gcc.mk
+include $(DMBS_PATH)/hid.mk
+include $(DMBS_PATH)/avrdude.mk
+include $(DMBS_PATH)/atprogram.mk