Skip to content
Snippets Groups Projects
Commit 13bfd49d authored by Andre Maroneze's avatar Andre Maroneze Committed by Valentin Perrelle
Browse files

[Analysis-scripts] add mandatory MACHDEP to Makefile template

parent 3d142c85
No related branches found
No related tags found
No related merge requests found
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
# FRAMAC the frama-c binary # FRAMAC the frama-c binary
# FRAMAC_GUI the frama-c gui binary # FRAMAC_GUI the frama-c gui binary
# CPPFLAGS preprocessing flags # CPPFLAGS preprocessing flags
# MACHDEP machdep to use with frama-c
# FCFLAGS general flags to use with frama-c # FCFLAGS general flags to use with frama-c
# FCGUIFLAGS flags to use with frama-c-gui # FCGUIFLAGS flags to use with frama-c-gui
# EVAFLAGS flags to use with the Eva plugin # EVAFLAGS flags to use with the Eva plugin
...@@ -161,7 +162,7 @@ SHELL := /bin/bash ...@@ -161,7 +162,7 @@ SHELL := /bin/bash
@# @#
%.parse: SOURCES = $(filter-out %/command,$^) %.parse: SOURCES = $(filter-out %/command,$^)
%.parse: PARSE = $(FRAMAC) $(FCFLAGS) -cpp-extra-args="$(CPPFLAGS)" $(SOURCES) %.parse: PARSE = $(FRAMAC) $(FCFLAGS) -machdep $(MACHDEP) -cpp-extra-args="$(CPPFLAGS)" $(SOURCES)
%.parse: $$(if $$^,,.IMPOSSIBLE) $$(shell $(DIR)cmd-dep.sh $$@/command $$(PARSE)) %.parse: $$(if $$^,,.IMPOSSIBLE) $$(shell $(DIR)cmd-dep.sh $$@/command $$(PARSE))
@$(call display_command,$(PARSE)) @$(call display_command,$(PARSE))
mkdir -p $@ mkdir -p $@
......
...@@ -11,6 +11,8 @@ include $(shell $(FRAMAC)-config -print-share-path)/analysis-scripts/eva-prefix. ...@@ -11,6 +11,8 @@ include $(shell $(FRAMAC)-config -print-share-path)/analysis-scripts/eva-prefix.
# Edit below as needed. Suggested flags are optional. # Edit below as needed. Suggested flags are optional.
MACHDEP = x86_32
## Preprocessing flags (for -cpp-extra-args) ## Preprocessing flags (for -cpp-extra-args)
CPPFLAGS += CPPFLAGS +=
......
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