Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cduce
cduce
Commits
5dcee9f3
Commit
5dcee9f3
authored
Aug 28, 2015
by
Kim Nguyễn
Browse files
Fix a typo in the makefile to actually not recompile files more than necessary.
parent
fd986283
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile.distrib
View file @
5dcee9f3
...
...
@@ -411,14 +411,14 @@ misc/q_symbol.cmo: misc/q_symbol.ml
parser/parser.$(EXTENSION)
:
PACKAGES += camlp4.extend
DUMMY
:=
$(
shell
test
!
-f
build_flags
-o
\
\(
"
$(FORPACKOPT)
$(SYNTAX_PARSER)
$(INCLUDES)
$(EXTRA_LINK_OPTS)
"
!=
\
"
$
(cat build_flags
)
"
\)
&&
\
DUMMY
:=
$(
shell
(
test
!
-f
build_flags
-o
\
\(
'
$(FORPACKOPT)
$(SYNTAX_PARSER)
$(INCLUDES)
$(EXTRA_LINK_OPTS)
'
!=
\
"
$
$
(cat build_flags
)
"
\)
&&
\
rm
-f
build_flags
&&
\
echo
$(FORPACKOPT)
$(SYNTAX_PARSER)
$(INCLUDES)
$(EXTRA_LINK_OPTS)
>
build_flags
)
printf
"%s"
'
$(FORPACKOPT)
$(SYNTAX_PARSER)
$(INCLUDES)
$(EXTRA_LINK_OPTS)
'
>
build_flags
)
||
true
)
build_flags
:
$(HIDE)
echo
$(FORPACKOPT)
$(SYNTAX_PARSER)
$(INCLUDES)
$(EXTRA_LINK_OPTS)
>
build_flags
$(HIDE)
printf
"%s"
'
$(FORPACKOPT)
$(SYNTAX_PARSER)
$(INCLUDES)
$(EXTRA_LINK_OPTS)
'
>
build_flags
%.cmo
:
%.ml build_flags
@
echo
"Build
$@
"
...
...
@@ -428,7 +428,7 @@ build_flags:
@
echo
"Build
$@
"
$(HIDE)
$(CAMLOPT)
$(FORPACKOPT)
-c
$(SYNTAX_PARSER)
$(INCLUDES)
$<
%.cmi
:
%.mli
build_flags
%.cmi
:
%.mli
@
echo
"Build
$@
"
$(HIDE)
$(CAMLC)
-c
$(SYNTAX_PARSER)
$(INCLUDES)
$<
...
...
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