Fixed parallel make dependency bug. Patch from Jeremy Hinegardner.
authorthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Mon, 26 Mar 2007 01:25:50 +0000 (01:25 +0000)
committerthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Mon, 26 Mar 2007 01:25:50 +0000 (01:25 +0000)
git-svn-id: http://svn.complang.org/ragel/trunk@153 052ea7fc-9027-0410-9066-f65837a77df0

CREDITS
Makefile.in

diff --git a/CREDITS b/CREDITS
index ad999f3..ac6f303 100644 (file)
--- 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
index b63600d..1ad00ea 100644 (file)
@@ -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.