X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2Fghc.mk;h=a266bf4c6abbeb0b7c3ef1ed33491ad4d8981ad4;hb=d1c9e5aaf9f032ad9c4b123499bdd948c2fe9e47;hp=763f8c761170a7abf7eb4cc2a3520a70907e231a;hpb=c59c053f0b8613dd128297ee0b6eef31f001c498;p=ghc-hetmet.git diff --git a/includes/ghc.mk b/includes/ghc.mk index 763f8c7..a266bf4 100644 --- a/includes/ghc.mk +++ b/includes/ghc.mk @@ -34,13 +34,6 @@ includes_CC_OPTS += -DTABLES_NEXT_TO_CODE endif includes_CC_OPTS += -Iincludes -Irts -Irts/parallel -ifeq "$(HaveLibGmp)" "YES" -ifneq "$(GMP_INCLUDE_DIRS)" "" -includes_CC_OPTS += -I$(GMP_INCLUDE_DIRS) -endif -else -includes_CC_OPTS += -Igmp/gmpbuild -endif ifneq "$(GhcWithSMP)" "YES" includes_CC_OPTS += -DNOSMP @@ -72,8 +65,8 @@ $(includes_H_CONFIG) : mk/config.h mk/config.mk includes/ghc.mk endif -$(includes_H_PLATFORM) : Makefile - $(RM) $@ +$(includes_H_PLATFORM) : includes/Makefile + "$(RM)" $(RM_OPTS) $@ @echo "Creating $@..." @echo "#ifndef __GHCPLATFORM_H__" >$@ @echo "#define __GHCPLATFORM_H__" >>$@