Skip to content
Snippets Groups Projects
Commit a0024871 authored by Dean Camera's avatar Dean Camera
Browse files

Add hack to the XPLAINBridge project to allow it to compile even if an...

Add hack to the XPLAINBridge project to allow it to compile even if an identical OBJDIR directory exists in the dependant AVRISP-MKII clone project folder.
parent 16cd7c68
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,14 @@ LD_FLAGS = ...@@ -29,6 +29,14 @@ LD_FLAGS =
# Default target # Default target
all: all:
# Since this project borrows files from the AVRISP-MKII project which may also have an
# identical OBJDIR directory, we need to enforce the use of this project's object file
# directory as the one where the build object files are to be stored by pre-pending the
# absolute path of the current project to the OBJDIR variable.
ifneq ($(OBJDIR),)
override OBJDIR:=$(shell pwd)/$(OBJDIR)
endif
# Include LUFA build script makefiles # Include LUFA build script makefiles
include $(LUFA_PATH)/Build/lufa_core.mk include $(LUFA_PATH)/Build/lufa_core.mk
include $(LUFA_PATH)/Build/lufa_sources.mk include $(LUFA_PATH)/Build/lufa_sources.mk
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment