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
dda5c03e
Commit
dda5c03e
authored
2 years ago
by
Allan Blanchard
Browse files
Options
Downloads
Patches
Plain Diff
[dune] add release mode in Makefile
parent
166c3105
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
Makefile
+8
-1
8 additions, 1 deletion
Makefile
share/Makefile.testing
+2
-2
2 additions, 2 deletions
share/Makefile.testing
with
10 additions
and
3 deletions
Makefile
+
8
−
1
View file @
dda5c03e
...
@@ -33,6 +33,13 @@ $(error \
...
@@ -33,6 +33,13 @@ $(error \
"You should run ./configure first (or autoconf if there is no configure
)
"
)
"You should run ./configure first (or autoconf if there is no configure
)
"
)
endif
endif
RELEASE
?=
no
ifeq
($(RELEASE),yes)
DUNE_BUILD_OPTS
=
--release
else
DUNE_BUILD_OPTS
=
endif
###################
###################
# Frama-C Version #
# Frama-C Version #
###################
###################
...
@@ -43,7 +50,7 @@ VERSION_CODENAME:=$(shell $(CAT) VERSION_CODENAME)
...
@@ -43,7 +50,7 @@ VERSION_CODENAME:=$(shell $(CAT) VERSION_CODENAME)
.PHONY
:
all
.PHONY
:
all
all
:
config.sed
all
:
config.sed
dune build @install
dune build
$(
DUNE_BUILD_OPTS
)
@install
ifeq
($(HAS_DOT),yes)
ifeq
($(HAS_DOT),yes)
OPTDOT
=
Some
\"
$(
DOT
)
\"
OPTDOT
=
Some
\"
$(
DOT
)
\"
...
...
This diff is collapsed.
Click to expand it.
share/Makefile.testing
+
2
−
2
View file @
dda5c03e
...
@@ -57,7 +57,7 @@ PTESTS=frama-c-ptests
...
@@ -57,7 +57,7 @@ PTESTS=frama-c-ptests
else
else
# PTESTS is internal
# PTESTS is internal
PTESTS
=
dune
exec
--root
ptests
--
frama-c-ptests
PTESTS
=
dune
exec
$(
DUNE_BUILD_OPTS
)
--root
ptests
--
frama-c-ptests
#PTESTS=dune exec --root ptests -- frama-c-ptests -v
#PTESTS=dune exec --root ptests -- frama-c-ptests -v
# Note: the public name of ptest.exe is frama-c-ptests
# Note: the public name of ptest.exe is frama-c-ptests
...
@@ -83,7 +83,7 @@ WTESTS=frama-c-wtests
...
@@ -83,7 +83,7 @@ WTESTS=frama-c-wtests
else
else
# WTESTS is internal to Frama-C
# WTESTS is internal to Frama-C
WTESTS
=
dune
exec
--root
ptests
--
frama-c-wtests
WTESTS
=
dune
exec
$(
DUNE_BUILD_OPTS
)
--root
ptests
--
frama-c-wtests
# Note: the public name of wtest.exe is frama-c-wtests
# Note: the public name of wtest.exe is frama-c-wtests
$(FRAMAC_WTESTS)
:
ptests/wtests.ml
$(FRAMAC_WTESTS)
:
ptests/wtests.ml
...
...
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