X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=utils%2Fhsc2hs%2FMakefile;h=c30269dd20d8c33677c3ed83b6bfa65594d499e8;hp=751884163264415e432c6702016c449dc986e181;hb=526c3af1dc98987b6949f4df73c0debccf9875bd;hpb=842e9d6628a27cf1f420d53f6a5901935dc50c54 diff --git a/utils/hsc2hs/Makefile b/utils/hsc2hs/Makefile index 7518841..c30269d 100644 --- a/utils/hsc2hs/Makefile +++ b/utils/hsc2hs/Makefile @@ -97,6 +97,14 @@ install:: endif endif +# hsc2hs-inplace is needed to 'make boot' in compiler. +# Do a recursive 'make all' after generating dependencies, because this +# will work with 'make -j'. +ifneq "$(BootingFromHc)" "YES" +boot :: depend + $(MAKE) all +endif + # ----------------------------------------------------------------------------- override datadir=$(libdir)