projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
date and time created 83/11/11 15:12:01 by ralph
[unix-history]
/
usr
/
src
/
lib
/
libplot
/
Makefile
diff --git
a/usr/src/lib/libplot/Makefile
b/usr/src/lib/libplot/Makefile
index
34d54ba
..
6559fce
100644
(file)
--- a/
usr/src/lib/libplot/Makefile
+++ b/
usr/src/lib/libplot/Makefile
@@
-1,32
+1,38
@@
-# Makefile 4.
1 83/06/27
+# Makefile 4.
7 83/11/10
#
#
-all: libplot.a libt4014.a libt300.a libt300s.a libt450.a libvt0.a
+ALL= libplot lib4014 lib300 lib300s lib450 libvt0
+SUBDIRS=plot t4014 t300 t300s t450 vt0
-libplot.a: FRC
+all: ${ALL}
+
+libplot: FRC
cd plot; make ${MFLAGS}
cd plot; make ${MFLAGS}
-lib
t4014.a
: FRC
+lib
4014
: FRC
cd t4014; make ${MFLAGS}
cd t4014; make ${MFLAGS}
-lib
t300.a
: FRC
+lib
300
: FRC
cd t300; make ${MFLAGS}
cd t300; make ${MFLAGS}
-lib
t300s.a
: FRC
+lib
300s
: FRC
cd t300s; make ${MFLAGS}
cd t300s; make ${MFLAGS}
-lib
t450.a
: FRC
+lib
450
: FRC
cd t450; make ${MFLAGS}
cd t450; make ${MFLAGS}
-libvt0
.a
: FRC
+libvt0: FRC
cd vt0; make ${MFLAGS}
FRC:
install: all
for i in ${ALL}; do \
cd vt0; make ${MFLAGS}
FRC:
install: all
for i in ${ALL}; do \
- install -m 644 $$i ${DESTDIR}/usr/lib/$$i; \
- ranlib ${DESTDIR}/usr/lib/$$i; \
+ install -m 644 $$i ${DESTDIR}/usr/lib/$$i
.a
; \
+ ranlib ${DESTDIR}/usr/lib/$$i
.a
; \
done
clean:
rm -f ${ALL} errs a.out core
done
clean:
rm -f ${ALL} errs a.out core
+ for i in ${SUBDIRS}; do \
+ (cd $$i; make ${MFLAGS} clean); \
+ done