1# Makefile 4.9 87/05/31 2# 3CFLAGS= -O 4ALL= tek t4013 t300 t300s t450 aedplot bgplot crtplot dumbplot gigiplot \ 5 hpplot hp7221plot implot atoplot plottoa grnplot 6 7all: ${ALL} debug 8 9tek: driver.o 10 cc -o tek driver.o -l4014 -lm 11 12t4013: driver.o 13 cc -o t4013 driver.o -l4013 -lm 14 15t300: driver.o 16 cc -o t300 driver.o -l300 -lm 17 18t300s: driver.o 19 cc -o t300s driver.o -l300s -lm 20 21t450: driver.o 22 cc -o t450 driver.o -l450 -lm 23 24aedplot: driver.o 25 cc -o aedplot driver.o -lplotaed 26 27bgplot: driver.o 28 cc -o bgplot driver.o -lplotbg -lm 29 30crtplot: crtdriver.o crtplot.o 31 cc -o crtplot crtdriver.o crtplot.o -lcurses -ltermcap -lm 32 33dumbplot: driver.o 34 cc -o dumbplot driver.o -lplotdumb -ltermcap -lm 35 36gigiplot: driver.o 37 cc -o gigiplot driver.o -lplotgigi -lm 38 39hpplot: driver.o 40 cc -o hpplot driver.o -lplot2648 -lm 41 42hp7221plot: driver.o 43 cc -o hp7221plot driver.o -lplot7221 -lm 44 45implot: driver.o 46 cc -o implot driver.o -lplotimagen -lm 47 48atoplot: atoplot.o 49 cc -o atoplot atoplot.o -lplot -lm 50 51plottoa: plottoa.o 52 cc -o plottoa plottoa.o 53 54grnplot: driver.o 55 cc -o grnplot driver.o -lplotgrn -lm 56 57debug: debug.o 58 cc -o debug debug.o 59 60install: all 61 -for i in ${ALL}; do \ 62 (install -s $$i ${DESTDIR}/usr/bin/$$i); done 63 install -c plot.sh ${DESTDIR}/usr/bin/plot 64 65clean: 66 rm -f *.o ${ALL} a.out core errs 67 68depend: 69