Skip to content
Snippets Groups Projects
Commit acffc5a4 authored by Patrick Baudin's avatar Patrick Baudin
Browse files

[Makefile] for external plugin: to allow completion of .merlin file

parent 7bfecfdd
No related branches found
No related tags found
No related merge requests found
...@@ -248,9 +248,9 @@ endif # PLUGIN_ENABLE <> no ...@@ -248,9 +248,9 @@ endif # PLUGIN_ENABLE <> no
########## ##########
.PHONY: merlin_plugin .PHONY: merlin_plugin
merlin_plugin:: merlin_plugin:
#create Merlin file for external plug-in #create Merlin file for external plug-in
$(PRINT_MAKING) $@ $(PRINT_MAKING) .merlin
echo "FLG -c $(FLAGS) $(FRAMAC_USER_MERLIN_FLAGS)" > .merlin echo "FLG -c $(FLAGS) $(FRAMAC_USER_MERLIN_FLAGS)" > .merlin
echo "B $(FRAMAC_LIBDIR)" >> .merlin echo "B $(FRAMAC_LIBDIR)" >> .merlin
echo "B $(FRAMAC_LIBDIR)/plugins" >> .merlin echo "B $(FRAMAC_LIBDIR)/plugins" >> .merlin
...@@ -260,6 +260,12 @@ merlin_plugin:: ...@@ -260,6 +260,12 @@ merlin_plugin::
for PKG in $(MERLIN_PACKAGES); do echo PKG $$PKG >> .merlin; done for PKG in $(MERLIN_PACKAGES); do echo PKG $$PKG >> .merlin; done
for DIR in $(patsubst %/,%,$(sort $(dir $(PLUGIN_ML_SRC) $(PLUGIN_TESTS_LIB)))); do echo S $$DIR>> .merlin; echo B $$DIR >> .merlin; done for DIR in $(patsubst %/,%,$(sort $(dir $(PLUGIN_ML_SRC) $(PLUGIN_TESTS_LIB)))); do echo S $$DIR>> .merlin; echo B $$DIR >> .merlin; done
# To allow completion of .merlin file
.PHONY: merlin
merlin:: merlin_plugin
.merlin: merlin
############ ############
# Cleaning # # Cleaning #
############ ############
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment