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
Glasgow Haskell Compiler
GHC
Commits
28703507
Commit
28703507
authored
Jun 21, 2007
by
Simon Marlow
Browse files
yet more fixes: Cygwin broke this time
parent
120c58c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils/hsc2hs/Makefile
View file @
28703507
...
...
@@ -45,7 +45,7 @@ endif
$(INPLACE_HS)
:
Makefile $(FPTOOLS_TOP)/mk/config.mk
echo
"import System.Cmd; import System.Environment; import System.Exit"
>
$@
echo
"main = getArgs >>=
\a
rgs -> rawSystem
\"
$(TOP_ABS)
/
$(GHC_HSC2HS_DIR_REL)
/
$(HS_PROG)
\"
(
\"
--cc=
$(CC)
\"
:
\"
--ld=
$(CC)
\"
$(
patsubst
%,:
\"
%
\"
,
$(extra_flags)
)
:
\"
--cflag=-D__GLASGOW_HASKELL__=
$(ProjectVersionInt)
\"
:
\"
-I
$(
FPTOOLS_TOP_ABS_PLATFORM
)
/
$(GHC_INCLUDE_DIR_REL)
\"
:args) >>= exitWith"
>>
$@
echo
"main = getArgs >>=
\a
rgs -> rawSystem
\"
$(TOP_ABS)
/
$(GHC_HSC2HS_DIR_REL)
/
$(HS_PROG)
\"
(
\"
--cc=
$(CC)
\"
:
\"
--ld=
$(CC)
\"
$(
patsubst
%,:
\"
%
\"
,
$(extra_flags)
)
:
\"
--cflag=-D__GLASGOW_HASKELL__=
$(ProjectVersionInt)
\"
:
\"
-I
$(
TOP_ABS
)
/
$(GHC_INCLUDE_DIR_REL)
\"
:args) >>= exitWith"
>>
$@
$(INPLACE_PROG)
:
$(INPLACE_HS)
$(GHC)
--make
$<
-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