home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume4 / quickplot / part2 / Makefile < prev    next >
Encoding:
Makefile  |  1986-11-30  |  1.4 KB  |  69 lines

  1. # $Header: Makefile,v $
  2. # $Log: Makefile,v $
  3.  
  4. BIN=/usr/public/bin
  5. MAN=/usr/man/manp
  6.  
  7. nothing:
  8.     @echo 'Use:'
  9.     @echo 'make all             to update lplot and quickplot'
  10.     @echo 'make new             to make both from scratch'
  11.     @echo 'make clean           to remove .o files'
  12.     @echo 'make bclean          to remove binaries and .o files'
  13.     @echo 'make lplot           to make only lplot'
  14.     @echo 'make quickplot       to make only quickplot'
  15.     @echo 'make install         to update and install both'
  16.     @echo 'make install_l       to update and install lplot'
  17.     @echo 'make install_q       to update and install quickplot'
  18.     @echo 'make install.man     to update and install man pages'
  19.  
  20. all:    lplot quickplot 
  21.  
  22. new:    bclean all
  23.  
  24. lplot: MAKINGLPLOT    FORCE
  25.     make -f Makefile.lplot
  26.  
  27. quickplot: MAKINGQUICK    FORCE
  28.     make -f Makefile.quick
  29.  
  30. FORCE:
  31.  
  32. bclean:
  33.     -rm -f *.o quickplot lplot LQPLOT.*
  34.  
  35. clean:
  36.     -rm -f *.o  LQPLOT.*
  37.  
  38. copy:
  39.     cpr -n -s defs.h global.c extern.h io.h lplot.c read_stream.c \
  40.     functions.c iobuf.c  alpha_plot.c | lprn -E4
  41.  
  42. install: install_l install_q
  43.  
  44. install_l: lplot 
  45.     -rm -f $(BIN)/lplot $(BIN)/rlplot $(BIN)/quickplot
  46.     install -s lplot $(BIN)
  47.     ln $(BIN)/lplot $(BIN)/rlplot
  48.  
  49. install_q: quickplot
  50.     install -s quickplot $(BIN)
  51.  
  52. install.man:
  53.     cp lplot.p quickplot.p $(MAN)
  54.     man lplot > /dev/null
  55.     man quickplot > /dev/null
  56.  
  57. MAKINGLPLOT:
  58.     -rm -f MAKINGQUICK *.o
  59.     touch MAKINGLPLOT
  60.  
  61. MAKINGQUICK:
  62.     -rm -f MAKINGLPLOT *.o
  63.     touch MAKINGQUICK
  64.  
  65.