|
|
Author: bernhard
Date: Fri Dec 28 04:03:25 2007
New Revision: 24238
Modified:
trunk/languages/forth/config/makefiles/root.in
Log:
[forth]
Regenerate Makefile when the template is touched.
Modified: trunk/languages/forth/config/makefiles/root.in
==============================================================================
--- trunk/languages/forth/config/makefiles/root.in (original)
+++ trunk/languages/forth/config/makefiles/root.in Fri Dec 28 04:03:25 2007
@@ -3,6 +3,9 @@
PARROT = ../../parrot@exe@
PERL = @perl@
RM_RF = @rm_rf@
+RECONFIGURE = $(PERL) @build_dir@/tools/dev/reconfigure.pl
+
+BUILD_DIR = @build_dir@
DEPENDENCIES = \
forth.pbc \
@@ -13,6 +16,10 @@
all: $(DEPENDENCIES)
+# regenerate the Makefile
+Makefile: config/makefiles/root.in
+ cd $(BUILD_DIR) && $(RECONFIGURE) --step=gen::languages
--languages=forth
+
prompt: all
$(PARROT) forth.pbc
|
|