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
Alex D
GHC
Commits
02856ea4
Commit
02856ea4
authored
May 24, 2007
by
Simon Marlow
Browse files
add a rule for creating makefiles as <dir>/CabalMakefile
Not done by default yet, but useful when hacking on libraries.
parent
d11e18f6
Changes
1
Show whitespace changes
Inline
Side-by-side
libraries/Makefile
View file @
02856ea4
...
...
@@ -200,6 +200,13 @@ build.library.%: stamp/configure.library.build$(CONFIGURE_STAMP_EXTRAS).% \
$(
addprefix
--ghc-option
=
,
$(GhcLibHcOpts)
)
ifBuildable/ifBuildable
$*
setup/Setup register
--inplace
$(foreach SUBDIR,$(SUBDIRS),$(SUBDIR)/CabalMakefile)
:
\
%/CabalMakefile: stamp/configure.library.build$(CONFIGURE_STAMP_EXTRAS).%
\
%/setup/Setup ifBuildable/ifBuildable
$(RM)
$*
/CabalMakefile
ifBuildable/ifBuildable
$*
setup/Setup makefile
-f
CabalMakefile
\
$(
addprefix
--ghc-option
=
,
$(GhcLibHcOpts)
)
.PHONY
:
doc
DOC_SUBDIRS
=
$(
filter-out
haskell98,
$(SUBDIRS)
)
...
...
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