multipage_hp2ps
[ghc.git] / utils / hp2ps / makefile.original
1 OBJS=   \
2         AuxFile.o       \
3         Axes.o          \
4         AreaBelow.o     \
5         Curves.o        \
6         Deviation.o     \
7         Dimensions.o    \
8         Error.o         \
9         HpFile.o        \
10         Key.o           \
11         Main.o          \
12         Marks.o         \
13         TopTwenty.o     \
14         TraceElement.o  \
15         PsFile.o        \
16         Reorder.o       \
17         Scale.o         \
18         Shade.o         \
19         Utilities.o
20
21 # Please set MATHLIB and BIN appropriately. I don't need MATHLIB on my machine,
22 # but you may.
23
24 MATHLIB = -lm
25
26 DSTBIN = /n/Numbers/usr/lml/lml-0.997.4hp/sun3/bin
27
28 CC= cc # gcc -Wall
29 CFLAGS= -g
30 LDFLAGS= ${STATICFLAG}
31
32 TARGET=hp2ps
33
34 ${TARGET}: ${OBJS}
35         ${CC} -o ${TARGET} ${CCFLAGS} ${LDFLAGS} ${OBJS} ${MATHLIB}
36
37 install: ${TARGET}
38         mv ${TARGET} ${DSTBIN}/${TARGET}
39         chmod 555 ${DSTBIN}/${TARGET} 
40
41 clean:
42         rm -f core *.o ${TARGET}