summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-04-16 08:05:25 +0000
committerpaltherr <paltherr@epfl.ch>2003-04-16 08:05:25 +0000
commit9a6a3347293acf9827555c60201a41ace52669f4 (patch)
treec79de7c140e43cccbadf5e2848a6af3bc40d762b /Makefile
parent8bde4b77217ee9d89008ffddc6a99110e8ce012a (diff)
downloadscala-9a6a3347293acf9827555c60201a41ace52669f4.tar.gz
scala-9a6a3347293acf9827555c60201a41ace52669f4.tar.bz2
scala-9a6a3347293acf9827555c60201a41ace52669f4.zip
- Fixed Makefile to generate files also when th...
- Fixed Makefile to generate files also when the emplate changes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7b785f09f2..188656d0da 100644
--- a/Makefile
+++ b/Makefile
@@ -235,8 +235,6 @@ library : .latest-library
.latest-meta : $(META_JC_FILES)
@$(MAKE) jc target=META META_JC_FILES='$?'
- $(RM) .latest-compiler
- $(JAVA) -cp $(JC_OUTPUTDIR) meta.GenerateAll $(PROJECT_SOURCEDIR) $@
touch $@
.latest-runtime : $(RUNTIME_JC_FILES)
@@ -272,6 +270,10 @@ $(FUNCTION_FILES): $(FUNCTION_TEMPLATE) $(FUNCTION_RULES)
$(TUPLE_FILES): $(TUPLE_TEMPLATE) $(TUPLE_RULES)
$(TEMPLATE_EXPANDER) $(TUPLE_RULES) $(TUPLE_TEMPLATE) $@
+% : %.tmpl .latest-meta
+ $(RM) .latest-compiler
+ $(JAVA) -cp $(JC_OUTPUTDIR) meta.GenerateAll $(PROJECT_SOURCEDIR) $@
+
$(PROJECT_JAR_ARCHIVE) : .latest-runtime
$(PROJECT_JAR_ARCHIVE) : .latest-compiler
$(PROJECT_JAR_ARCHIVE) : .latest-interpreter