X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2FMakefile;h=b5a14af6ee0e6f2adbd2d97d2526244acb4c96c2;hb=03ffa2bfa6c31dc6bcdcacecc2bdb3bbabd800a9;hp=b4a7ba1c0fac0359d0026277fb987163f73d619a;hpb=93e677f64e39c2398c630d2ddff00b1bff0bf401;p=ghc-hetmet.git diff --git a/utils/Makefile b/utils/Makefile index b4a7ba1..b5a14af 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -22,7 +22,6 @@ ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32" SUBDIRS += lndir endif - # Utils that we don't build by default: # nofib-analyse @@ -43,3 +42,10 @@ endif # a Haskell compiler and if you want it. include $(TOP)/mk/target.mk + +# genprimopcode is needed to boot in ghc/compiler... +ifneq "$(BootingFromHc)" "YES" +boot :: + $(MAKE) -C genprimopcode +endif +