X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/b7e3c86e4e5d4262a608163176d0b01c0cc54b29..bcc45e24aa6cac11ca93c1b2ccafa795aa2e3eb2:/Projects/XPLAINBridge/makefile diff --git a/Projects/XPLAINBridge/makefile b/Projects/XPLAINBridge/makefile index f51ada5dc..33ac357ed 100644 --- a/Projects/XPLAINBridge/makefile +++ b/Projects/XPLAINBridge/makefile @@ -29,6 +29,14 @@ LD_FLAGS = # Default target 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_PATH)/Build/lufa_core.mk include $(LUFA_PATH)/Build/lufa_sources.mk