Skip to content

Commit

Permalink
adding explicit dependency on .inc files to make them be generated
Browse files Browse the repository at this point in the history
Note: The deeper problem is, that the .inc files don't yet exist and
need to be generated.  Still, they should appear in the list of the
dependencies, which can be triggered with the -MG option.

However, using the -MG option leads to a compiler error in the GM2Calc
interface, because our depgen.x does never ignore #include statements
wrapped in an #ifdef #endif block.  This needs to be fixed at some
point.
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Sep 1, 2016
1 parent 3d79252 commit 7786aa2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions models/fmssm/module.mk
Expand Up @@ -65,6 +65,8 @@ clean:: clean-$(MODNAME)

distclean:: distclean-$(MODNAME)

$(DIR)/fmssm_lattice.o: $(DIR)/fmssm_lattice_translator.inc

$(DIR)/%.cpp : $(DIR)/%.cpp.m
$(MATH) -run 'filename="$@"; << $<; Quit[]'

Expand Down
2 changes: 2 additions & 0 deletions models/fmssmn/module.mk
Expand Up @@ -66,6 +66,8 @@ clean:: clean-$(MODNAME)

distclean:: distclean-$(MODNAME)

$(DIR)/fmssmn_lattice.o: $(DIR)/fmssmn_lattice_translator.inc

$(DIR)/%.cpp : $(DIR)/%.cpp.m
$(MATH) -run 'filename="$@"; << $<; Quit[]'

Expand Down

0 comments on commit 7786aa2

Please sign in to comment.