summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6f2eb807ff..7b785f09f2 100644
--- a/Makefile
+++ b/Makefile
@@ -158,6 +158,7 @@ NICE ?= nice
ZIP ?= zip
UNIX2DOS ?= unix2dos
XARGS ?= xargs
+JAVA ?= java
PICO ?= pico
PICO_FLAGS += -make -source 1.4
@@ -188,6 +189,7 @@ force :
@$(make) all
clean :
+ @if [ -f .latest-meta ];then $(call RUN,$(RM) `$(CAT) .latest-meta`);fi
$(RM) .latest-interpreter
$(RM) .latest-compiler
$(RM) .latest-runtime
@@ -233,6 +235,8 @@ 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)