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
40555e9c
Commit
40555e9c
authored
Jun 05, 1997
by
sof
Browse files
[project @ 1997-06-05 22:37:40 by sof]
cope with compilation failures
parent
a0a72449
Changes
1
Show whitespace changes
Inline
Side-by-side
mk/target.mk
View file @
40555e9c
...
...
@@ -21,10 +21,13 @@ endif
$(NOFIB_PROG)
:
$(OBJS)
@
echo
==
nofib
==
$(NOFIB_PROG)
:
time
to
link
$(NOFIB_PROG)
follows...
@
$(TIME)
$(HC)
$(HC_OPTS)
-o
$@
$^
$(LIBS)
@
$(STRIP)
$@
@
echo
==
nofib
==
$(NOFIB_PROG)
: size of
$(NOFIB_PROG)
follows...
@
$(SIZE)
$@
@
if
(
test
-f
$@
)
;
then
\
$(STRIP)
$@
;
\
echo
==
nofib
==
$(NOFIB_PROG)
: size of
$(NOFIB_PROG)
follows...
;
\
$(SIZE)
$@
;
\
fi
;
ifneq
"$(NOFIB_PROG)" ""
runtests
::
$(NOFIB_PROG)
@
echo
==
nofib
==
$<
:
time
to run
$<
follows...
@
$(TIME)
$(RUNTEST)
./
$<
\
...
...
@@ -32,7 +35,10 @@ runtests :: $(NOFIB_PROG)
$(
addprefix
-o1
,
$(
wildcard
$(NOFIB_PROG)
.stdout
))
\
$(
addprefix
-o2
,
$(
wildcard
$(NOFIB_PROG)
.stderr
))
\
$(RUNTEST_OPTS)
else
runtests
::
@
:
endif
# Include standard boilerplate
# We do this at the end for cosmetic reasons: it means that the "normal-way"
...
...
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