Follow GHC build system change to the way we call rm
authorIan Lynagh <igloo@earth.li>
Sat, 19 Nov 2011 01:33:41 +0000 (01:33 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 19 Nov 2011 01:33:41 +0000 (01:33 +0000)
gmp/ghc.mk

index c65835e..95b3fbe 100644 (file)
@@ -29,8 +29,8 @@ $(eval $(call clean-target,gmp,,\
 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
+       $(call removeTrees,libraries/integer-gmp/gmp/objs)
+       $(call removeTrees,libraries/integer-gmp/gmp/gmpbuild)
 endif
 
 ifeq "$(phase)" "final"