Commit | Line | Data |
---|---|---|
50c5f98d | 1 | # Makefile 4.7 83/11/11 |
738da2ff | 2 | # |
50c5f98d RC |
3 | ALL= libplot lib300 lib300s lib4014 lib450 libvt0 \ |
4 | libplotaed libplotbg libplotdumb libplotgigi libplot2648 libplot7221 | |
5 | SUBDIRS=plot t4014 t300 t300s t450 vt0 \ | |
6 | aed bitgraph dumb gigi hp2648 hp7221 | |
08ae617f SL |
7 | |
8 | all: ${ALL} | |
738da2ff | 9 | |
9b0b4566 | 10 | libplot: FRC |
738da2ff SL |
11 | cd plot; make ${MFLAGS} |
12 | ||
acb87785 | 13 | lib4014: FRC |
738da2ff SL |
14 | cd t4014; make ${MFLAGS} |
15 | ||
acb87785 | 16 | lib300: FRC |
738da2ff SL |
17 | cd t300; make ${MFLAGS} |
18 | ||
acb87785 | 19 | lib300s: FRC |
738da2ff SL |
20 | cd t300s; make ${MFLAGS} |
21 | ||
acb87785 | 22 | lib450: FRC |
738da2ff SL |
23 | cd t450; make ${MFLAGS} |
24 | ||
9b0b4566 | 25 | libvt0: FRC |
738da2ff SL |
26 | cd vt0; make ${MFLAGS} |
27 | ||
50c5f98d RC |
28 | libplotaed: FRC |
29 | cd aed; make ${MFLAGS} | |
30 | ||
31 | libplotbg: FRC | |
32 | cd bitgraph; make ${MFLAGS} | |
33 | ||
34 | libplotdumb: FRC | |
35 | cd dumb; make ${MFLAGS} | |
36 | ||
37 | libplotgigi: FRC | |
38 | cd gigi; make ${MFLAGS} | |
39 | ||
40 | libplot2648: FRC | |
41 | cd hp2648; make ${MFLAGS} | |
42 | ||
43 | libplot7221: FRC | |
44 | cd hp7221; make ${MFLAGS} | |
45 | ||
738da2ff SL |
46 | FRC: |
47 | ||
48 | install: all | |
49 | for i in ${ALL}; do \ | |
9b0b4566 SL |
50 | install -m 644 $$i ${DESTDIR}/usr/lib/$$i.a; \ |
51 | ranlib ${DESTDIR}/usr/lib/$$i.a; \ | |
738da2ff SL |
52 | done |
53 | ||
54 | clean: | |
55 | rm -f ${ALL} errs a.out core | |
5d2d901d | 56 | for i in ${SUBDIRS}; do \ |
4e444bd9 SL |
57 | (cd $$i; make ${MFLAGS} clean); \ |
58 | done |