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
4b98b6ad
Commit
4b98b6ad
authored
Sep 03, 1997
by
sof
Browse files
[project @ 1997-09-03 23:17:33 by sof]
fix: cleaning out split dirs pre re-make did not work
parent
c2fb6dd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
mk/suffix.mk
View file @
4b98b6ad
...
...
@@ -31,8 +31,8 @@ endif
# Haskell Suffix Rules
HASKELL_SPLIT_PRE
=
\
$(RM)
$@
;
if
[
!
-d
$(
basename
$@
)
]
;
then
mkdir
$(
basename
$@
)
;
else
exit
0
;
fi
;
\
find
$(
basename
$@
)
-name
'*.
$(way_)
o'
-print
| xargs
$(RM)
__rm_food
;
$(RM)
$@
;
if
[
!
-d
$(
basename
$@
)
]
;
then
mkdir
$(
basename
$@
)
;
else
\
find
$(
basename
$@
)
-name
'*.
$(way_)
o'
-print
| xargs
$(RM)
__rm_food
;
fi
HASKELL_SPLIT_POST
=
touch
$@
HASKELL_PRE_COMPILE
=
$(
patsubst
%,
$(HASKELL_SPLIT_PRE)
,
$(
filter
-split-objs
,
$(HC_OPTS)
))
HASKELL_POST_COMPILE
=
$(
patsubst
%,
$(HASKELL_SPLIT_POST)
,
$(
filter
-split-objs
,
$(HC_OPTS)
))
...
...
@@ -150,10 +150,11 @@ HASKELL_POST_COMPILE=$(patsubst %,$(HASKELL_SPLIT_POST),$(filter -split-objs,$(H
%.hs
:
%.runtest
$(TIME)
$(RUNTEST)
$(HC)
$(RUNTEST_FLAGS)
-o2
$*
.stderr
$<
#-----------------------------------------------------------------------------
# Doc processing suffix rules
#
# ToDo: make these more robust
#
%.dvi
:
%.tex
@
$(RM)
$@
$(LTX)
$<
...
...
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