X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=protocol%2Flufa.mk;h=ac70ac03916639b906f562c6cc9a5d8f3d263a26;hb=6a97efcea94b2d1882ba2d58c4c016a45507fb3d;hp=10a922f9028fc82a67e6a0819b66f758352d729c;hpb=3c5add5f800daaeaf0abc28eae8b3c244bcc1126;p=max%2Ftmk_keyboard.git diff --git a/protocol/lufa.mk b/protocol/lufa.mk index 10a922f9..ac70ac03 100644 --- a/protocol/lufa.mk +++ b/protocol/lufa.mk @@ -1,8 +1,12 @@ LUFA_DIR = protocol/lufa # Path to the LUFA library -LUFA_PATH ?= protocol/lufa/LUFA-120730 -#LUFA_PATH ?= protocol/lufa/LUFA-130901 +ifeq (, $(wildcard $(TOP_DIR)/$(LUFA_DIR)/LUFA-git/LUFA/Version.h)) + LUFA_PATH ?= $(LUFA_DIR)/LUFA-120730 +else + LUFA_PATH ?= $(LUFA_DIR)/LUFA-git +endif + # Create the LUFA source path variables by including the LUFA makefile ifneq (, $(wildcard $(TOP_DIR)/$(LUFA_PATH)/LUFA/Build/lufa_sources.mk))