Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
988c6615
Commit
988c6615
authored
Jan 27, 2005
by
simonpj
Browse files
[project @ 2005-01-27 12:57:16 by simonpj]
Omit PRE_HC_OPTS and POST_HC_OPTS for hs-boot files
parent
35c17bb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
mk/suffix.mk
View file @
988c6615
...
...
@@ -47,20 +47,19 @@ $(odir_)%.$(way_)o : %.hs
$(HC)
$(HC_OPTS)
-c
$<
-o
$@
-ohi
$(
basename
$@
)
.
$(way_)
hi
$(HC_POST_OPTS)
$(odir_)%.$(way_)o-boot
:
%.hs-boot
$(HC_PRE_OPTS)
$(HC)
$(HC_OPTS)
-c
$<
-o
$@
-ohi
$(
basename
$@
)
.
$(way_)
hi-boot
$(HC_POST_OPTS)
$(odir_)%.$(way_)o
:
%.lhs
$(HC_PRE_OPTS)
$(HC)
$(HC_OPTS)
-c
$<
-o
$@
-ohi
$(
basename
$@
)
.
$(way_)
hi
$(HC_POST_OPTS)
# Now the rules for hs-boot files.
# Note that they do *not* do teh HS_PRE_OPTS / HS_POST_OPTS stuff,
# (which concerns splitting) because they don't generate .o files
$(odir_)%.$(way_)o-boot
:
%.hs-boot
$(HC)
$(HC_OPTS)
-c
$<
-o
$@
-ohi
$(
basename
$@
)
.
$(way_)
hi-boot
$(odir_)%.$(way_)o-boot
:
%.lhs-boot
$(HC_PRE_OPTS)
$(HC)
$(HC_OPTS)
-c
$<
-o
$@
-ohi
$(
basename
$@
)
.
$(way_)
hi-boot
$(HC_POST_OPTS)
$(odir_)%.$(way_)hc
:
%.lhs
$(RM)
$@
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment