summaryrefslogtreecommitdiff
path: root/dviware/epson/eps-0.2/eps/Makefile
blob: a8fbcb6462cba9c3411bd1274df28b3ef010ac5d (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
CC = gcc

CFLAGS= -I../h -O

%.o:	%.c
	${CC} -c ${CFLAGS} -x c++ $<

SRCS= eps.c epson.c Bset.c

OBJS= eps.o epson.o Bset.o

LIBS= ../lib/lib.a

all: eps

eps : ${OBJS}
	${CC} ${CFLAGS} ${OBJS} ${LIBS} -o $@

install:
	install -s eps ${BINDIR}

clean:
	rm eps *.o

MAKEDEPEND = makedepend

depend:
	${MAKEDEPEND} -I/usr/g++-include ${CFLAGS} ${SRCS}


# DO NOT DELETE THIS LINE -- make depend depends on it.