summaryrefslogtreecommitdiff
path: root/gcc/melt-build.mk
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/melt-build.mk')
-rw-r--r--gcc/melt-build.mk15
1 files changed, 14 insertions, 1 deletions
diff --git a/gcc/melt-build.mk b/gcc/melt-build.mk
index 3f417ab3437..d534e8f7b24 100644
--- a/gcc/melt-build.mk
+++ b/gcc/melt-build.mk
@@ -2505,11 +2505,24 @@ xtramelt-parse-infix-syntax.melt,xtramelt-ana-base.melt,xtramelt-ana-simple.melt
vpath %.so $(melt_make_module_dir) .
-vpath %.c $(melt_make_source_dir)/generated . $(melt_source_dir)
+vpath %.c $(melt_make_source_dir)/generated . $(melt_source_dir)
+vpath %.h $(melt_make_source_dir)/generated . $(melt_source_dir)
+
+.PHONY: generate-meltrun
+generate-meltrun: $(melt_default_modules_list).modlis empty-file-for-melt.c \
+ melt-all-sources melt-all-modules $(melt_make_cc1_dependency)
+ $(melt_make_cc1) $(melt_make_cc1flags) \
+ $(meltarg_mode)=runtypesupport \
+ $(meltarg_tempdir)=. $(meltarg_bootstrapping) $(MELT_DEBUG) \
+ $(meltarg_init)=@$(melt_default_modules_list) \
+ $(meltarg_module_path)=melt-modules:. \
+ $(meltarg_source_path)=melt-sources:. \
+ $(meltarg_output)=meltrunsup \
+ empty-file-for-melt.c
### MELT cleanup
.PHONY: melt-clean