summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2007-03-26 01:25:50 +0000
committerAdrian Thurston <thurston@complang.org>2007-03-26 01:25:50 +0000
commit55da3df7d968c19730d39c8edcf6187d81a4d157 (patch)
treefc39140972923ae991e3eaf5346628d7cc8a987b
parent2c7eb15c76a4ea1e9016f29615c242cb8d53f144 (diff)
downloadragel-55da3df7d968c19730d39c8edcf6187d81a4d157.tar.gz
Fixed parallel make dependency bug. Patch from Jeremy Hinegardner.
-rw-r--r--CREDITS3
-rw-r--r--Makefile.in13
2 files changed, 10 insertions, 6 deletions
diff --git a/CREDITS b/CREDITS
index ad999f31..ac6f3031 100644
--- a/CREDITS
+++ b/CREDITS
@@ -25,4 +25,5 @@ have been missed.
Drai, Matthias Rahlf, Zinx Verituse, Markus W. Weissmann, Marc Liyanage,
Erich Ocean, Alan West, Steven Kibbler, Laurent Boulard, Jon Oberheide,
David Helder, Lexington Luthor, Jason Jobe, Colin Fleming, Carlos Antunes,
- Steve Horne, Matt Mower, Josef Goettgens, Zed Shaw, Marcus Rueckert
+ Steve Horne, Matt Mower, Josef Goettgens, Zed Shaw, Marcus Rueckert, Jeremy
+ Hinegardner
diff --git a/Makefile.in b/Makefile.in
index b63600df..1ad00ea2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -18,9 +18,9 @@
# along with Ragel; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
-BUILD_SUBDIRS = common ragel redfsm rlgen-cd rlgen-java rlgen-ruby rlgen-dot
-ALL_SUBDIRS = $(BUILD_SUBDIRS) test examples doc
+BUILD_COMMON = common redfsm
+BUILD_SUBDIRS = ragel rlgen-cd rlgen-java rlgen-ruby rlgen-dot
+ALL_SUBDIRS = $(BUILD_COMMON) $(BUILD_SUBDIRS) test examples doc
#*************************************
@@ -33,9 +33,12 @@ include version.mk
# build targets
all: $(BUILD_SUBDIRS)
-.PHONY: $(BUILD_SUBDIRS)
+.PHONY: $(ALL_SUBDIRS)
+
+$(BUILD_COMMON):
+ @cd $@ && $(MAKE)
-$(BUILD_SUBDIRS):
+$(BUILD_SUBDIRS): $(BUILD_COMMON)
@cd $@ && $(MAKE)
# clean targets.