summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--src/Makefile.am1
-rw-r--r--src/bind/makefile.in17
3 files changed, 19 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2ea6ca305..fd924a8aa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -867,6 +867,7 @@ src/Makefile
src/check-header-compile
src/algorithms/makefile
src/application/makefile
+src/bind/makefile
src/debug/makefile
src/dialogs/makefile
src/display/makefile
diff --git a/src/Makefile.am b/src/Makefile.am
index 5aa625014..7c820933f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -131,6 +131,7 @@ EXTRA_DIST = \
sp-skeleton.cpp sp-skeleton.h \
algorithms/makefile.in \
application/makefile.in \
+ bind/makefile.in \
debug/makefile.in \
dialogs/makefile.in \
dialogs/filedialog-win32.cpp \
diff --git a/src/bind/makefile.in b/src/bind/makefile.in
new file mode 100644
index 000000000..90ed85bb4
--- /dev/null
+++ b/src/bind/makefile.in
@@ -0,0 +1,17 @@
+# Convenience stub makefile to call the real Makefile.
+
+@SET_MAKE@
+
+OBJEXT = @OBJEXT@
+
+# Explicit so that it's the default rule.
+all:
+ cd .. && $(MAKE) bind/all
+
+clean %.a %.$(OBJEXT):
+ cd .. && $(MAKE) bind/$@
+
+.PHONY: all clean
+
+.SUFFIXES:
+.SUFFIXES: .a .$(OBJEXT)