home *** CD-ROM | disk | FTP | other *** search
Makefile | 1986-11-30 | 1.4 KB | 69 lines |
- #
- # $Header: Makefile,v $
- #
- # $Log: Makefile,v $
- #
- #
-
- BIN=/usr/public/bin
- MAN=/usr/man/manp
-
- nothing:
- @echo 'Use:'
- @echo 'make all to update lplot and quickplot'
- @echo 'make new to make both from scratch'
- @echo 'make clean to remove .o files'
- @echo 'make bclean to remove binaries and .o files'
- @echo 'make lplot to make only lplot'
- @echo 'make quickplot to make only quickplot'
- @echo 'make install to update and install both'
- @echo 'make install_l to update and install lplot'
- @echo 'make install_q to update and install quickplot'
- @echo 'make install.man to update and install man pages'
-
- all: lplot quickplot
-
- new: bclean all
-
- lplot: MAKINGLPLOT FORCE
- make -f Makefile.lplot
-
- quickplot: MAKINGQUICK FORCE
- make -f Makefile.quick
-
- FORCE:
-
- bclean:
- -rm -f *.o quickplot lplot LQPLOT.*
-
- clean:
- -rm -f *.o LQPLOT.*
-
- copy:
- cpr -n -s defs.h global.c extern.h io.h lplot.c read_stream.c \
- functions.c iobuf.c alpha_plot.c | lprn -E4
-
- install: install_l install_q
-
- install_l: lplot
- -rm -f $(BIN)/lplot $(BIN)/rlplot $(BIN)/quickplot
- install -s lplot $(BIN)
- ln $(BIN)/lplot $(BIN)/rlplot
-
- install_q: quickplot
- install -s quickplot $(BIN)
-
- install.man:
- cp lplot.p quickplot.p $(MAN)
- man lplot > /dev/null
- man quickplot > /dev/null
-
- MAKINGLPLOT:
- -rm -f MAKINGQUICK *.o
- touch MAKINGLPLOT
-
- MAKINGQUICK:
- -rm -f MAKINGLPLOT *.o
- touch MAKINGQUICK
-
-