X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=ghc%2Futils%2Fhp2ps%2FMakefile;h=18cb05b1bdb6b4e00b0b233978eb1ea716877578;hb=d255dfff87648bcd4dd1d87faa8d835d358c70a2;hp=728a8ac41ad834f80b8a22a30ac6200492690344;hpb=02b60157852c1bf3c371b47c33d83814a05153bc;p=ghc-hetmet.git diff --git a/ghc/utils/hp2ps/Makefile b/ghc/utils/hp2ps/Makefile index 728a8ac..18cb05b 100644 --- a/ghc/utils/hp2ps/Makefile +++ b/ghc/utils/hp2ps/Makefile @@ -1,28 +1,14 @@ -TOP=../../.. -include $(TOP)/ghc/mk/ghc.mk +TOP=../.. +include $(TOP)/mk/boilerplate.mk -SRCS = \ - AuxFile.c \ - Axes.c \ - AreaBelow.c \ - Curves.c \ - Deviation.c \ - Dimensions.c \ - Error.c \ - HpFile.c \ - Key.c \ - Main.c \ - Marks.c \ - TopTwenty.c \ - TraceElement.c \ - PsFile.c \ - Reorder.c \ - Scale.c \ - Shade.c \ - Utilities.c +C_PROG = hp2ps -PROG = hp2ps -DESTDIR = $(INSTBINDIR_GHC) -LIBS = -lm +SRC_CC_OPTS += -I$(GHC_INCLUDE_DIR) -Wall -include $(TOP)/mk/Cprog.mk +INSTALL_PROGS += $(C_PROG) + +LIBS = $(LIBM) + +CLEAN_FILES += $(C_OBJS) $(C_PROG) + +include $(TOP)/mk/target.mk