home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 334_02 / makefile.vms < prev    next >
Makefile  |  1991-02-05  |  2KB  |  64 lines

  1. #
  2. # GNUPLOT Makefile
  3. # for VMS
  4. # use with the MAKE that was posted by Tony Ivanov (tony@gvgpvd.GVG.TEK.COM)
  5. # in comp.os.vms on 5 December 1988
  6. #
  7.  
  8. # NOOP  NO Optimiser
  9. CFLAGS = /NOOP
  10.  
  11. # /define=(<terminal>) in TERMFLAGS iff you wish to support <terminal>
  12. # see other terminal defines in term.h
  13.  
  14. TERMFLAGS = 
  15.  
  16. OBJS =  bitmap.obj,command.obj,eval.obj,graphics.obj,internal.obj, \
  17.         misc.obj,parse.obj,plot.obj,scanner.obj,setshow.obj, \
  18.         standard.obj,term.obj,util.obj,version.obj
  19.  
  20. CSOURCE1 = command.c setshow.c 
  21. CSOURCE2 = help.c graphics.c internal.c 
  22. CSOURCE3 = misc.c eval.c parse.c plot.c scanner.c standard.c 
  23. CSOURCE4 = bitmap.c term.c util.c version.c
  24. CSOURCE5 = [.term]aed.trm [.term]cgi.trm [.term]dxy.trm [.term]eepic.trm \
  25.     [.term]epson.trm [.term]fig.trm [.term]hp26.trm [.term]hp2648.trm \
  26.     [.term]hpgl.trm [.term]hpljii.trm 
  27. CSOURCE6 = [.term]imPcodes.h [.term]imagen.trm [.term]object.h \
  28.     [.term]iris4d.trm [.term]kyo.trm [.term]latex.trm [.term]pc.trm 
  29. CSOURCE7 = [.term]post.trm [.term]qms.trm [.term]regis.trm [.term]sun.trm \
  30.     [.term]t410x.trm [.term]tek.trm [.term]unixpc.trm [.term]unixplot.trm \
  31.     [.term]v384.trm [.term]x11.trm gnuplot_x11.c
  32.  
  33. all :   gnuplot.exe gnuplot.hlp gnuplot.hlb
  34.  
  35.  
  36. gnuplot.exe : $(OBJS)
  37.         link /exe=gnuplot $(OBJS) ,linkopt.vms/opt
  38.  
  39. gnuplot.hlp : doc2hlp.exe [.docs]gnuplot.doc [.docs]doc2hlp.com
  40.         $$@[.docs]doc2hlp.com
  41.  
  42. gnuplot.hlb : gnuplot.hlp
  43.     library/create/help gnuplot.hlb gnuplot.hlp
  44.  
  45. doc2hlp.exe: [.docs]doc2hlp.c
  46.         cc [.docs]doc2hlp.c
  47.         link doc2hlp,linkopt.vms/opt
  48.  
  49. term.obj: term.h term.c $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
  50.     $(CC) $(CFLAGS) $(TERMFLAGS) term.c
  51.  
  52. $(OBJS): plot.h
  53.  
  54. command.obj help.obj misc.obj: help.h
  55.  
  56. command.obj graphics.obj misc.obj plot.obj setshow.obj term.obj: setshow.h
  57.  
  58. bitmap.obj term.obj: bitmap.h
  59.  
  60. clean :
  61.         purge/log
  62.         del/log *.obj;*
  63.