#-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.33 2000/06/14 10:27:07 simonmar Exp $
+# $Id: Makefile,v 1.34 2000/06/14 11:07:47 simonmar Exp $
#
TOP=..
SUBDIRS = mangler split stats
-# we need the driver for generating dependencies...
-boot :: all
-
# -----------------------------------------------------------------------------
# Create driver configuration
echo exec $(FPTOOLS_TOP_ABS)/ghc/driver/ghc -B$(FPTOOLS_TOP_ABS) $$\* >>$@
chmod 755 $@
+CLEAN_FILES += ghc-inplace
+
# -----------------------------------------------------------------------------
# package configuration files...
include $(TOP)/mk/target.mk
+# we need the driver for generating dependencies...
+boot :: all
+
# -----------------------------------------------------------------------------
# Create link to from ghc-x.xx to ghc...
exit 1; \
fi;
+CLEAN_FILES += $(LINK)
+
install ::
@if ( $(PERL) -e '$$fn="$(bindir)/$(LINK)"; exit ((! -f $$fn || -l $$fn) ? 0 : 1);' ); then \
echo "Creating a symbol link from $(HS_PROG) to $(LINK) in $(bindir)"; \