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
ff30c8f6
Commit
ff30c8f6
authored
Jan 17, 2011
by
Ian Lynagh
Browse files
Tidy up gmp cleaning
parent
2e3235c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc.mk
View file @
ff30c8f6
...
...
@@ -567,6 +567,8 @@ endif
ifeq
"$(INTEGER_LIBRARY)" "integer-gmp"
BUILD_DIRS
+=
libraries/integer-gmp/gmp
else
ifneq
"$(findstring clean,$(MAKECMDGOALS))" ""
BUILD_DIRS
+=
libraries/integer-gmp/gmp
endif
BUILD_DIRS
+=
\
...
...
@@ -1187,17 +1189,6 @@ clean : clean_files clean_libraries
clean_files
:
"
$(RM)
"
$(RM_OPTS)
$(CLEAN_FILES)
ifneq
"$(NO_CLEAN_GMP)" "YES"
CLEAN_FILES
+=
libraries/integer-gmp/gmp/gmp.h
CLEAN_FILES
+=
libraries/integer-gmp/gmp/libgmp.a
clean
:
clean_gmp
.PHONY
:
clean_gmp
clean_gmp
:
"
$(RM)
"
$(RM_OPTS_REC)
libraries/integer-gmp/gmp/objs
"
$(RM)
"
$(RM_OPTS_REC)
libraries/integer-gmp/gmp/gmpbuild
endif
.PHONY
:
clean_libraries
clean_libraries
:
$(patsubst %
,
clean_libraries/%_dist-install
,
$(PACKAGES) $(PACKAGES_STAGE2))
clean_libraries
:
$(patsubst %
,
clean_libraries/%_dist-boot
,
$(STAGE0_PACKAGES))
...
...
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