blob: dbf3dd3c01d964c77ba4f15144f1363d42901295 (
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
43
44
45
46
47
48
49
|
# 1.0 dxy2ps and hpgl2ps (Copyright) D McCormick
# Commercial reproduction prohibited.
#
FILTER1= dxy2ps
FILTER2= hpgl2ps
INSDIR= /usr/local/bin
INCLUDE= defn.h
LOCALLIB= libroland.a
AR= ar
ARFLAGS= ru
LOADLIBES= -lm
CFLAGS= -g
OBJ1= dxy2ps.o
OBJ2= hpgl2ps.o
OBJC= changesizes.o circle.o dxycom.o end_draw.o\
getval.o hpglcom.o linesize.o linetype.o\
manualfeed.o plotdot.o plotinit.o plotps.o\
ps_macros.o rectangle.o textps.o viewport.o\
plotcoords.o
all: $(FILTER1) $(FILTER2)
$(FILTER1): $(LOCALLIB) $(OBJ1)
$(CC) $(CFLAGS) -o $@ $(OBJ1) $(LOCALLIB) $(LOADLIBES)
$(FILTER2): $(LOCALLIB) $(OBJ2)
$(CC) $(CFLAGS) -o $@ $(OBJ2) $(LOCALLIB) $(LOADLIBES)
$(LOCALLIB): $(OBJC)
$(AR) $(ARFLAGS) $@ $(OBJC)
ranlib $(LOCALLIB)
$(OBJC): $(INCLUDE)
$(OBJ1): $(INCLUDE)
$(OBJ2): $(INCLUDE)
install: $(FILTER1)
install -s $(FILTER1) $(INSDIR)
install2: $(FILTER2)
install -s $(FILTER2) $(INSDIR)
clean:
-rm -f *.o a.out core libroland.a
|