X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Makefile;h=97717f431073cf234b42eb89dc340a3596d4ff60;hb=d7c977f78cb1f71ff5b30a198dc04c64f00088d5;hp=f3582f8ab7c2cea21ddbb6de12094617d7eca3bf;hpb=f059b94f14b9e70aa78d9e61c2a9d8db99e1ce58;p=ghc-hetmet.git diff --git a/Makefile b/Makefile index f3582f8..97717f4 100644 --- a/Makefile +++ b/Makefile @@ -324,14 +324,15 @@ ifeq "$(HAPPY)" "$(FPTOOLS_TOP_ABS)/happy/src/happy-inplace" all :: $(FPTOOLS_TOP_ABS)/happy/src/happy-inplace $(FPTOOLS_TOP_ABS)/happy/src/happy-inplace : glafp-utils - cd happy && make boot all + $(MAKE) -C happy boot all endif all :: @case '${MFLAGS}' in *-[ik]*) x_on_err=0;; *-r*[ik]*) x_on_err=0;; *) x_on_err=1;; esac; \ for i in $(SUBDIRS); do \ if [ -d $$i ]; then \ - $(MAKE) -C $$i boot all; \ + $(MAKE) -C $$i boot; \ + $(MAKE) -C $$i all; \ if [ $$? -eq 0 -o $$x_on_err -eq 0 ] ; then true; else exit 1; fi; \ fi; \ done