Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
13bfd49d
Commit
13bfd49d
authored
4 years ago
by
Andre Maroneze
Committed by
Valentin Perrelle
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[Analysis-scripts] add mandatory MACHDEP to Makefile template
parent
3d142c85
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
share/analysis-scripts/frama-c.mk
+2
-1
2 additions, 1 deletion
share/analysis-scripts/frama-c.mk
share/analysis-scripts/template.mk
+2
-0
2 additions, 0 deletions
share/analysis-scripts/template.mk
with
4 additions
and
1 deletion
share/analysis-scripts/frama-c.mk
+
2
−
1
View file @
13bfd49d
...
@@ -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
$@
...
...
This diff is collapsed.
Click to expand it.
share/analysis-scripts/template.mk
+
2
−
0
View file @
13bfd49d
...
@@ -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
+=
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment