projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2003-11-10 12:04:25 by simonpj]
[ghc-hetmet.git]
/
ghc
/
utils
/
hp2ps
/
Makefile
diff --git
a/ghc/utils/hp2ps/Makefile
b/ghc/utils/hp2ps/Makefile
index
728a8ac
..
18cb05b
100644
(file)
--- 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