X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Funlit%2FMakefile;h=1969f1da570cfd45b1166e3cb4d7f4ad2f7e090d;hb=c59c053f0b8613dd128297ee0b6eef31f001c498;hp=1723a08e269ba901e998365ec272eef47d793599;hpb=2de31b61d0a963803eb5632c9659c6093d74f345;p=ghc-hetmet.git diff --git a/utils/unlit/Makefile b/utils/unlit/Makefile index 1723a08..1969f1d 100644 --- a/utils/unlit/Makefile +++ b/utils/unlit/Makefile @@ -1,25 +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) - -BINDIST_EXTRAS += $(C_PROG) -include $(TOP)/mk/bindist.mk +# 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