X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Funlit%2FMakefile;h=1969f1da570cfd45b1166e3cb4d7f4ad2f7e090d;hb=c59c053f0b8613dd128297ee0b6eef31f001c498;hp=6323129511fed725b01d39ceca4e2b7b4674aac7;hpb=5b846fa36eee0f96c4c47128706d0131f8bb4113;p=ghc-hetmet.git diff --git a/utils/unlit/Makefile b/utils/unlit/Makefile index 6323129..1969f1d 100644 --- a/utils/unlit/Makefile +++ b/utils/unlit/Makefile @@ -1,27 +1,15 @@ -TOP=../.. -include $(TOP)/mk/boilerplate.mk - -# Exclude for booting -ifeq "$(stage)" "2" -SRC_CC_OPTS += $(MACOSX_DEPLOYMENT_CC_OPTS) -SRC_LD_OPTS += $(MACOSX_DEPLOYMENT_LD_OPTS) -endif - -C_SRCS=unlit.c -C_PROG=unlit -SRC_CC_OPTS += -O - -# Get it over with! -boot :: all - +# ----------------------------------------------------------------------------- # -# Install unlit in lib/ +# (c) 2009 The University of Glasgow # -INSTALL_LIBEXECS += $(C_PROG) - -binary-dist: - $(INSTALL_DIR) $(BIN_DIST_DIR)/utils/unlit - $(INSTALL_DATA) Makefile $(BIN_DIST_DIR)/utils/unlit/ - $(INSTALL_PROGRAM) $(C_PROG) $(BIN_DIST_DIR)/utils/unlit/ +# This file is part of the GHC build system. +# +# To understand how the build system works and how to modify it, see +# http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture +# http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying +# +# ----------------------------------------------------------------------------- -include $(TOP)/mk/target.mk +dir = utils/unlit +TOP = ../.. +include $(TOP)/mk/sub-makefile.mk