SCCS-vsn: usr.bin/plot/Makefile 4.3
-# Makefile 4.2 83/03/24
-#
-all: tek t300 t300s t450 vplot
+CFLAGS= -O
+ALL= tek t300 t300s t450 vplot
+
+all: ${ALL}
tek: driver.o
cc -o tek driver.o -l4014 -lm
tek: driver.o
cc -o tek driver.o -l4014 -lm
t300: driver.o
cc -o t300 driver.o -l300 -lm
t300: driver.o
cc -o t300 driver.o -l300 -lm
t300s: driver.o
cc -o t300s driver.o -l300s -lm
t300s: driver.o
cc -o t300s driver.o -l300s -lm
t450: driver.o
cc -o t450 driver.o -l450 -lm
t450: driver.o
cc -o t450 driver.o -l450 -lm
-vplot: vplot.c
- cc -o vplot vplot.c
+
+vplot: vplot.o chrtab.o
+ cc -o vplot vplot.o chrtab.o
install: all
install -s tek ${DESTDIR}/usr/bin
install: all
install -s tek ${DESTDIR}/usr/bin
install -s vplot ${DESTDIR}/usr/bin
install -c plot.sh ${DESTDIR}/usr/bin/plot
clean:
install -s vplot ${DESTDIR}/usr/bin
install -c plot.sh ${DESTDIR}/usr/bin/plot
clean:
- rm -f *.o tek t300 t300s t450 vplot
+ rm -f *.o ${ALL} a.out core errs