aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-03-21 15:30:40 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-03-21 15:30:40 +0000
commitfdabd340c0448525fdccf3df1d18bbf769307476 (patch)
treefe3149b57565f489919aa4268c2b4b351ca21535 /externals
parent4bf18a1be9f31d46b8979066f2f2930a7f56d1bd (diff)
fixed [hid] compilation on GNU/Linux after HID Utilities fix on Mac OS X
svn path=/trunk/; revision=4746
Diffstat (limited to 'externals')
-rw-r--r--externals/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/externals/Makefile b/externals/Makefile
index 156ead8c..c976edf7 100644
--- a/externals/Makefile
+++ b/externals/Makefile
@@ -571,9 +571,11 @@ $(HID_OBJECTS) : %.o : %.c
$(HID_UTILITIES_SOURCE)/build/libHIDUtilities.a:
# Apple changed the XCode CLI tool's name in xcode2... arg
+# if on non-Mac OS X, this target just echos a message
cd $(HID_UTILITIES_SOURCE) && \
- (test -x /usr/bin/xcodebuild && /usr/bin/xcodebuild) || pbxbuild
-
+ (test -x /usr/bin/xcodebuild && /usr/bin/xcodebuild) || \
+ (test -x /usr/bin/pbxbuild && /usr/bin/pbxbuild) || \
+ echo "Not building Apple HID Utilities"
$(externals_src)/hcs/hid/hid.$(EXTENSION): $(HID_OBJECTS) \
$(HID_UTILITIES_SOURCE)/build/libHIDUtilities.a