[project @ 1997-03-13 09:34:46 by sof]
[ghc-hetmet.git] / ghc / utils / hp2ps / Makefile
index 728a8ac..90626ac 100644 (file)
@@ -1,28 +1,14 @@
-TOP=../../..
-include $(TOP)/ghc/mk/ghc.mk
+TOP=../..
+include $(TOP)/mk/boilerplate.mk
+WAYS=
 
-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_SRCS  = $(wildcard *.c)
+H_SRCS  = $(wildcard *.h)
+C_PROG         = hp2ps
+
+INSTALL_PROGS += $(C_PROG)
 
-PROG   = hp2ps
-DESTDIR        = $(INSTBINDIR_GHC)
 LIBS   = -lm
 
-include $(TOP)/mk/Cprog.mk
+CLEAN_FILES += $(C_OBJS) $(C_PROG)
+include $(TOP)/mk/target.mk