Ugly workaround for lack of multiple HID device support on OSX.
[SCSI2SD-V6.git] / software / bootloaderhost / Makefile
index 83a482f..0273813 100644 (file)
@@ -28,10 +28,10 @@ ifeq ($(TARGET),Linux)
 endif
 ifeq ($(TARGET),Darwin)
        # Should match OSX
-       VPATH += hidapi/mac
+       VPATH += hidapi-mac
        LDFLAGS += -framework IOKit -framework CoreFoundation
        CFLAGS += -mmacosx-version-min=10.7
-       CXXFLAGS += -stdlib=libc++ -mmacosx-version-min=10.7
+       CXXFLAGS += -stdlib=libc++ -mmacosx-version-min=10.7 -std=c++0x
        CC=clang
        CXX=clang++
        BUILD=build/mac