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
afc85d41
Commit
afc85d41
authored
Jun 06, 2001
by
simonmar
Browse files
[project @ 2001-06-06 12:24:00 by simonmar]
wibbles
parent
003bc7cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
mk/paths.mk
View file @
afc85d41
...
...
@@ -110,8 +110,10 @@ INSTALL_DIR = $(FPTOOLS_TOP)/glafp-utils/mkdirhier/mkdirhier
PRE_SRCS
=
$(
wildcard
*
.lhs
*
.hs
*
.c
*
.prl
*
.lprl
*
.lit
*
.verb
*
.hsc
)
DERIVED_SRCS
=
$(
patsubst
%.hsc, %.hs %_hsc.c %_hsc.h,
\
$(
filter
%.hsc,
$(PRE_SRCS)
))
HSC_SRCS
=
$(
filter
%.hsc,
$(PRE_SRCS)
)
DERIVED_SRCS
=
$(
patsubst
%.hsc, %.hs,
$(HSC_SRCS)
)
\
$(
patsubst
%.hsc, %_hsc.c,
$(HSC_SRCS)
)
\
$(
patsubst
%.hsc, %_hsc.h,
$(HSC_SRCS)
)
# EXCLUDED_SRCS can be set in the Makefile, otherwise it defaults to empty.
EXCLUDED_DERIVED_SRCS
=
$(
patsubst
%.hsc,%.hs %_hsc.c,
\
...
...
@@ -119,7 +121,7 @@ EXCLUDED_DERIVED_SRCS = $(patsubst %.hsc,%.hs %_hsc.c, \
CLOSED_EXCLUDED_SRCS
=
$(
sort
$(EXCLUDED_SRCS)
$(EXCLUDED_DERIVED_SRCS)
)
SRCS
=
$(
filter-out
$(CLOSED_EXCLUDED_SRCS)
,
\
$(
sort
$(PRE_SRCS)
$(
HSC_
DERIVED_SRCS)
))
$(
sort
$(PRE_SRCS)
$(DERIVED_SRCS)
))
HS_SRCS
=
$(
filter
%.lhs %.hs %.hc,
$(
sort
$(SRCS)
$(BOOT_SRCS)
))
HS_OBJS
=
$(
addsuffix
.
$(way_)
o,
$(
basename
$(HS_SRCS)
))
...
...
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