aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-11-30 05:53:41 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-11-30 05:53:41 +0000
commitd82e6551de2b9f3215fd5f58085097d47a6864b9 (patch)
tree2767ad063d08b39618be1bede360c274bb6adc63 /Makefile
parentfaa02ea1a208dccdc0df2c9ba567c09ca6c2e957 (diff)
did lots of renaming to the new [hidio] name, removed a little bit of cruft. Builds on Mac OS X, but doesn't load yet :-/. hidio_setup() gets called successfully, but for some reason hidio_new() does not seem to get called
svn path=/trunk/externals/io/hidio/; revision=6533
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..341c55b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,25 @@
+TARGET := $(shell pwd | sed 's|.*/\(.*\)$$|\1|')
+EXTERNALS_ROOT := $(shell pwd | sed 's|^\(/.*externals\).*|\1|')
+
+default:
+ make -C $(EXTERNALS_ROOT) $(TARGET)
+
+install:
+ make -C $(EXTERNALS_ROOT) $(TARGET)_install
+
+clean:
+ make -C $(EXTERNALS_ROOT) $(TARGET)_clean
+
+test_locations:
+ make -C $(EXTERNALS_ROOT) test_locations
+
+# for emacs
+etags:
+ make etags_`uname -s`
+
+etags_Darwin:
+ etags *.[ch] linux/input.h HID\ Utilities\ Source/*.[ch] \
+ /System/Library/Frameworks/IOKit.framework/Headers/hid*/*.[ch]
+
+etags_Linux:
+ etags *.[ch] /usr/include/*.h linux/input.h /usr/include/sys/*.h