25 |
|
# global targets |
26 |
|
all: $(PROGS) |
27 |
|
|
28 |
– |
special: $(SPECIALPROGS) |
29 |
– |
|
28 |
|
install: $(PROGS) |
29 |
|
cp $(PROGS) $(INSTDIR) |
30 |
|
|
33 |
– |
specialinstall: $(SPECIALPROGS) |
34 |
– |
cp $(SPECIALPROGS) $(INSTDIR) |
35 |
– |
|
31 |
|
clean: |
32 |
< |
set nonomatch; rm -f *.o $(PROGS) $(SPECIALPROGS) core |
32 |
> |
set nonomatch; rm -f *.o $(PROGS) core |
33 |
|
|
34 |
|
# individual targets |
35 |
|
|
37 |
|
$(CC) $(CFLAGS) -o meta2tga meta2tga.o rplot.o plot.o $(common) \ |
38 |
|
palloc.o -lrt $(MLIB) |
39 |
|
|
45 |
– |
$(DESTDIR)/t4014: plotout.c ../lib/lib4014.a |
46 |
– |
$(CC) -DFORTEK $(CFLAGS) -o t4014 plotout.c $(common) \ |
47 |
– |
-l4014 -lrt $(MLIB) |
48 |
– |
rm -f plotout.o |
49 |
– |
|
40 |
|
$(DESTDIR)/x11meta: xmeta.o x11plot.o plot.o palloc.o |
41 |
|
$(CC) $(CFLAGS) -o x11meta xmeta.o x11plot.o plot.o palloc.o \ |
42 |
|
$(common) -lrt -lX11 $(MLIB) |
44 |
|
$(DESTDIR)/psmeta: psmeta.o psplot.o |
45 |
|
$(CC) $(CFLAGS) -o psmeta psmeta.o psplot.o $(common) -lrt $(MLIB) |
46 |
|
|
57 |
– |
$(DESTDIR)/plotout: plotout.o ../lib/lib4014.a |
58 |
– |
$(CC) $(CFLAGS) -o plotout plotout.o $(common) -lplot -lrt -l4014 $(MLIB) |
59 |
– |
|
47 |
|
$(DESTDIR)/plotin: plotin.o primout.o |
48 |
|
$(CC) $(CFLAGS) -o plotin plotin.o primout.o $(common) -lrt $(MLIB) |
49 |
|
|
101 |
|
-lrt $(MLIB) |
102 |
|
|
103 |
|
# dependencies |
104 |
< |
$(DESTDIR)/meta2tga $(DESTDIR)/t4014 $(DESTDIR)/plotout $(DESTDIR)/x11meta \ |
104 |
> |
$(DESTDIR)/meta2tga $(DESTDIR)/x11meta \ |
105 |
|
$(DESTDIR)/pexpand $(DESTDIR)/plot4 $(DESTDIR)/psort $(DESTDIR)/mtext \ |
106 |
|
$(DESTDIR)/plotin ../lib/libmeta.a psmeta: $(common) |
107 |
|
|
112 |
|
mgraph.o: mgraph.h |
113 |
|
|
114 |
|
misc.o syscalls.o mfio.o hfio.o cvhfio.o palloc.o segment.o sort.o expand.o \ |
115 |
< |
plot.o mplot.o primout.o plotout.o \ |
129 |
< |
psort.o pexpand.o cv.o mtext.o plot4.o \ |
115 |
> |
plot.o mplot.o primout.o psort.o pexpand.o cv.o mtext.o plot4.o \ |
116 |
|
xmeta.o metacalls.o meta2tga.o rplot.o: meta.h ../common/rterror.h |
117 |
|
|
118 |
|
plot.o mplot.o meta2tga.o rplot.o: plot.h |