Fix C++ builds, XPLAINBridge project.

This commit is contained in:
Dean Camera
2015-12-22 22:14:09 +11:00
parent 09b6c80555
commit 2fcd50ada8
2 changed files with 11 additions and 7 deletions
+3 -3
View File
@@ -31,13 +31,13 @@ LD_FLAGS =
# Default target
all:
OBJDIR := obj
# 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
override OBJDIR:=$(shell pwd)/$(OBJDIR)
# Include LUFA build script makefiles
include $(LUFA_PATH)/Build/lufa_core.mk