summaryrefslogtreecommitdiff
path: root/ghc/utils/hp2ps/makefile.original
blob: a625149552ec60101931e5b129631b510cee4f62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
OBJS= 	\
	AuxFile.o	\
	Axes.o		\
	AreaBelow.o	\
	Curves.o 	\
	Deviation.o	\
	Dimensions.o	\
	Error.o 	\
	HpFile.o	\
	Key.o		\
	Main.o 		\
	Marks.o		\
	TopTwenty.o	\
	TraceElement.o	\
	PsFile.o 	\
	Reorder.o	\
	Scale.o		\
	Shade.o 	\
	Utilities.o

# Please set MATHLIB and BIN appropriately. I don't need MATHLIB on my machine,
# but you may.

MATHLIB = -lm

DSTBIN = /n/Numbers/usr/lml/lml-0.997.4hp/sun3/bin

CC= cc # gcc -Wall
CFLAGS= -g
LDFLAGS= ${STATICFLAG}

TARGET=hp2ps

${TARGET}: ${OBJS}
	${CC} -o ${TARGET} ${CCFLAGS} ${LDFLAGS} ${OBJS} ${MATHLIB}

install: ${TARGET}
	mv ${TARGET} ${DSTBIN}/${TARGET}
	chmod 555 ${DSTBIN}/${TARGET} 

clean:
	rm -f core *.o ${TARGET}