Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
fec28e66
Commit
fec28e66
authored
May 03, 2009
by
Ian Lynagh
Browse files
Use "-x c" when compiling hc files
parent
b426d31f
Changes
1
Show whitespace changes
Inline
Side-by-side
rules/hs-suffix-rules-srcdir.mk
View file @
fec28e66
...
...
@@ -55,10 +55,10 @@ endif
# .hs->.o rule, I don't know why --SDM
$1/$2/build/%.$$($3_osuf)
:
$1/$4/%.hc
$
$(CC)
$$
(
$1_$2_$3_ALL_CC_OPTS
)
-c
$$
<
-o
$$
@
$
$(CC)
$$
(
$1_$2_$3_ALL_CC_OPTS
)
-x
c
-c
$$
<
-o
$$
@
$1/$2/build/%.$$($3_osuf)
:
$1/$2/build/%.hc
$
$(CC)
$$
(
$1_$2_$3_ALL_CC_OPTS
)
-c
$$
<
-o
$$
@
$
$(CC)
$$
(
$1_$2_$3_ALL_CC_OPTS
)
-x
c
-c
$$
<
-o
$$
@
# $1/$2/build/%.$$($3_osuf) : $1/$2/build/%.$$($3_way_)hc
# $$($1_$2_HC) $$($1_$2_$3_ALL_HC_OPTS) -c $$< -o $$@
...
...
Write
Preview
Supports
Markdown
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