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
nofib
Commits
74935f46
Commit
74935f46
authored
Oct 06, 1997
by
sof
Browse files
[project @ 1997-10-06 17:37:23 by sof]
Fix to cope with .exe suffixes for binaries under cygwin32
parent
00169f2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
mk/target.mk
View file @
74935f46
...
...
@@ -25,14 +25,16 @@ all ::
all
::
runtests
endif
# Bogosity needed here to cope with .exe suffix for strip & size files.
# (shouldn't have to be our problem.)
ifneq
"$(HC_FAIL)" "YES"
$(NOFIB_PROG)
:
$(OBJS)
@
echo
==
nofib
==
$(NOFIB_PROG)
:
time
to
link
$(NOFIB_PROG)
follows...
@
$(TIME)
$(HC)
$(HC_OPTS)
-o
$@
$^
$(LIBS)
@
if
(
test
-f
$@
)
;
then
\
$(STRIP)
$@
;
\
$(STRIP)
$@
$(exeext)
;
\
echo
==
nofib
==
$(NOFIB_PROG)
: size of
$(NOFIB_PROG)
follows...
;
\
$(SIZE)
$@
;
\
$(SIZE)
$@
$(exeext)
;
\
fi
;
endif
...
...
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