Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonas Kastberg
iris
Commits
a9f7431c
Commit
a9f7431c
authored
Nov 16, 2016
by
Ralf Jung
Browse files
Coq 8.6: silence some warnings
parent
d528b812
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
a9f7431c
# Makefile originally taken from coq-club
# Determine Coq version
COQ_VERSION
=
$(
shell
coqc
--version
| egrep
-o
'version 8.[0-9]'
| egrep
-o
'8.[0-9]'
)
COQ_MAKEFILE_FLAGS
?=
ifeq
($(COQ_VERSION), 8.6)
COQ_MAKEFILE_FLAGS
+=
-arg
-w
-arg
-notation-overridden
,-redundant-canonical-projection
endif
%
:
Makefile.coq phony
%
:
Makefile.coq phony
+@make
-f
Makefile.coq
$@
+@make
-f
Makefile.coq
$@
...
@@ -11,7 +17,7 @@ clean: Makefile.coq
...
@@ -11,7 +17,7 @@ clean: Makefile.coq
rm
-f
Makefile.coq
rm
-f
Makefile.coq
Makefile.coq
:
_CoqProject Makefile
Makefile.coq
:
_CoqProject Makefile
coq_makefile
-f
_CoqProject |
sed
's/$
$(COQCHK)
$
$(COQCHKFLAGS)
$
$(COQLIBS)
/$
$(COQCHK)
$
$(COQCHKFLAGS)
$
$(
subst
-Q,-R,$
$(COQLIBS)
)
/'
\
coq_makefile
$(COQ_MAKEFILE_FLAGS)
-f
_CoqProject |
sed
's/$
$(COQCHK)
$
$(COQCHKFLAGS)
$
$(COQLIBS)
/$
$(COQCHK)
$
$(COQCHKFLAGS)
$
$(
subst
-Q,-R,$
$(COQLIBS)
)
/'
\
|
sed
'/^install:$$/a \\tif [ -d "$
$(DSTROOT)
"$
$(COQLIBINSTALL)
/iris/ ]; then find "$
$(DSTROOT)
"$
$(COQLIBINSTALL)
/iris/ -name "*.vo" -print -delete; fi'
>
Makefile.coq
|
sed
'/^install:$$/a \\tif [ -d "$
$(DSTROOT)
"$
$(COQLIBINSTALL)
/iris/ ]; then find "$
$(DSTROOT)
"$
$(COQLIBINSTALL)
/iris/ -name "*.vo" -print -delete; fi'
>
Makefile.coq
_CoqProject
:
;
_CoqProject
:
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment