aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-11-14 02:47:49 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-11-14 02:47:49 +0000
commit869a0b602e1c02dc6384534b2399976617b99b90 (patch)
tree91a4f2c4b8c62e09634a4b8333a053e219a7ce65 /Makefile
parent939636fa8ee51551013ef91cc86820747f69eb42 (diff)
added tkwidgets build targets from template; made target to build shared library, but it's not used yet
svn path=/trunk/externals/tkwidgets/; revision=8998
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b8e8987
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+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
+
+etags:
+ etags *.[ch] ../../pd/src/*.[ch] /usr/include/*.h /usr/include/sys/*.h