aboutsummaryrefslogtreecommitdiff
path: root/xbee/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-02-11 00:50:16 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:08:26 +0200
commit8238e049724286e6a8af96734c71e826c6826006 (patch)
tree0ded72c5b541072cb400bef2e412a30846855e39 /xbee/Makefile
parentef417b58265bc400d687783c341f84c87b5daa09 (diff)
first attempt at a Pd port, it compiles without any real warnings, now we just need an xbee to test on!
svn path=/trunk/externals/io/; revision=10754
Diffstat (limited to 'xbee/Makefile')
-rw-r--r--xbee/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/xbee/Makefile b/xbee/Makefile
new file mode 100644
index 0000000..e222c9b
--- /dev/null
+++ b/xbee/Makefile
@@ -0,0 +1,33 @@
+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:
+ etags ../../../pd/src/*.h *.[ch]
+ make etags_`uname -s`
+
+etags_Darwin:
+ etags -a \
+ /System/Library/Frameworks/ForceFeedback.framework/Headers/*.h \
+ /System/Library/Frameworks/CoreFoundation.framework/Headers/*.h \
+ /System/Library/Frameworks/Carbon.framework/Headers/*.h \
+ /System/Library/Frameworks/IOBluetooth.framework/Headers/*.[ch]
+
+etags_Linux:
+ etags -a /usr/include/*.h linux/input.h /usr/include/sys/*.h
+
+etags_MINGW:
+ etags -a /usr/include/*.h /usr/include/sys/*.h \
+ /usr/local/include/*.h /usr/local/include/sys/*.h