| 20 |
|
PROGS = $(DESTDIR)/meta2tga $(DESTDIR)/pexpand $(DESTDIR)/psort \ |
| 21 |
|
$(DESTDIR)/cv $(DESTDIR)/psmeta $(DESTDIR)/plotin \ |
| 22 |
|
$(DESTDIR)/x11meta $(DESTDIR)/bgraph $(DESTDIR)/igraph \ |
| 23 |
< |
$(DESTDIR)/dgraph $(DESTDIR)/gcomp $(DESTDIR)/plot4 |
| 23 |
> |
$(DESTDIR)/dgraph $(DESTDIR)/gcomp $(DESTDIR)/plot4 \ |
| 24 |
> |
$(DESTDIR)/meta2bmp |
| 25 |
|
|
| 26 |
|
# global targets |
| 27 |
|
all: $(PROGS) |
| 28 |
|
|
| 28 |
– |
special: $(SPECIALPROGS) |
| 29 |
– |
|
| 29 |
|
install: $(PROGS) |
| 30 |
|
cp $(PROGS) $(INSTDIR) |
| 31 |
|
|
| 33 |
– |
specialinstall: $(SPECIALPROGS) |
| 34 |
– |
cp $(SPECIALPROGS) $(INSTDIR) |
| 35 |
– |
|
| 32 |
|
clean: |
| 33 |
< |
set nonomatch; rm -f *.o $(PROGS) $(SPECIALPROGS) core |
| 33 |
> |
set nonomatch; rm -f *.o $(PROGS) core |
| 34 |
|
|
| 35 |
|
# individual targets |
| 36 |
|
|
| 38 |
|
$(CC) $(CFLAGS) -o meta2tga meta2tga.o rplot.o plot.o $(common) \ |
| 39 |
|
palloc.o -lrt $(MLIB) |
| 40 |
|
|
| 41 |
< |
$(DESTDIR)/t4014: plotout.c ../lib/lib4014.a |
| 42 |
< |
$(CC) -DFORTEK $(CFLAGS) -o t4014 plotout.c $(common) \ |
| 43 |
< |
-l4014 -lrt $(MLIB) |
| 48 |
< |
rm -f plotout.o |
| 41 |
> |
$(DESTDIR)/meta2bmp: meta2bmp.o rplot.o plot.o palloc.o |
| 42 |
> |
$(CC) $(CFLAGS) -o meta2bmp meta2bmp.o rplot.o plot.o $(common) \ |
| 43 |
> |
palloc.o -lrt $(MLIB) |
| 44 |
|
|
| 45 |
|
$(DESTDIR)/x11meta: xmeta.o x11plot.o plot.o palloc.o |
| 46 |
|
$(CC) $(CFLAGS) -o x11meta xmeta.o x11plot.o plot.o palloc.o \ |
| 49 |
|
$(DESTDIR)/psmeta: psmeta.o psplot.o |
| 50 |
|
$(CC) $(CFLAGS) -o psmeta psmeta.o psplot.o $(common) -lrt $(MLIB) |
| 51 |
|
|
| 57 |
– |
$(DESTDIR)/plotout: plotout.o ../lib/lib4014.a |
| 58 |
– |
$(CC) $(CFLAGS) -o plotout plotout.o $(common) -lplot -lrt -l4014 $(MLIB) |
| 59 |
– |
|
| 52 |
|
$(DESTDIR)/plotin: plotin.o primout.o |
| 53 |
|
$(CC) $(CFLAGS) -o plotin plotin.o primout.o $(common) -lrt $(MLIB) |
| 54 |
|
|
| 106 |
|
-lrt $(MLIB) |
| 107 |
|
|
| 108 |
|
# dependencies |
| 109 |
< |
$(DESTDIR)/meta2tga $(DESTDIR)/t4014 $(DESTDIR)/plotout $(DESTDIR)/x11meta \ |
| 109 |
> |
$(DESTDIR)/meta2tga $(DESTDIR)/meta2bmp $(DESTDIR)/x11meta \ |
| 110 |
|
$(DESTDIR)/pexpand $(DESTDIR)/plot4 $(DESTDIR)/psort $(DESTDIR)/mtext \ |
| 111 |
|
$(DESTDIR)/plotin ../lib/libmeta.a psmeta: $(common) |
| 112 |
|
|
| 117 |
|
mgraph.o: mgraph.h |
| 118 |
|
|
| 119 |
|
misc.o syscalls.o mfio.o hfio.o cvhfio.o palloc.o segment.o sort.o expand.o \ |
| 120 |
< |
plot.o mplot.o primout.o plotout.o \ |
| 121 |
< |
psort.o pexpand.o cv.o mtext.o plot4.o \ |
| 122 |
< |
xmeta.o metacalls.o meta2tga.o rplot.o: meta.h ../common/rterror.h |
| 120 |
> |
plot.o mplot.o primout.o psort.o pexpand.o cv.o mtext.o plot4.o \ |
| 121 |
> |
xmeta.o metacalls.o meta2tga.o \ |
| 122 |
> |
meta2bmp.o rplot.o: meta.h ../common/rterror.h |
| 123 |
|
|
| 124 |
< |
plot.o mplot.o meta2tga.o rplot.o: plot.h |
| 124 |
> |
plot.o mplot.o meta2tga.o meta2bmp.o rplot.o: plot.h |
| 125 |
|
|
| 126 |
|
mplot.o: span.h |
| 127 |
|
|
| 128 |
< |
rplot.o meta2tga.o: rast.h |
| 128 |
> |
rplot.o meta2bmp.o meta2tga.o: rast.h |