I'm not sure why this was here, but it makes ghci.o get built twice on
Windows, which can cause the build to fail if it tries to link it
in the middle.
TOP=../..
include $(TOP)/mk/boilerplate.mk
-# hack for ghci-inplace script, see below
-INSTALLING=1
-
# -----------------------------------------------------------------------------
# ghci script
$(EXECUTABLE_FILE) $(INPLACE_SCRIPT)
endif
-# don't recurse on 'make install'
-#
-ifeq "$(INSTALLING)" "1"
-all clean distclean maintainer-clean ::
- $(MAKE) INSTALLING=0 $(MFLAGS) $@
-endif
-
ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
ghci.res : ghci.rc ghci.ico
windres --preprocessor="$(CPP) -xc -DRC_INVOKED" -o ghci.res -i ghci.rc -O coff