home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / progs / pari / pari_137 / tex / appb.tex < prev    next >
Encoding:
Text File  |  1992-05-20  |  683 b   |  34 lines

  1. \title{Appendix B : A sample Makefile}
  2.  
  3. We assume that you have installed the PARI library and include files
  4. as explained in Appendix A or in the installation guide. If you chose
  5. differently any of the directory names, please change them accordingly
  6. in the Makefiles.
  7.  
  8. If the program example that we have given is in the file mattrans.c
  9. (say as the first of several matrix transcendental functions), then
  10. a sample Makefile is the following:
  11.  
  12. {\tt \obeylines\parskip=0pt plus 1pt
  13. \hbox{}
  14. CC = cc
  15. CFLAGS = -O -I/usr/include/pari-include
  16. \hbox{}
  17. all:\qquad mattrans
  18. \hbox{}
  19. mattrans:\qquad    mattrans.c
  20. \qquad    \$(CC) \$(CFLAGS) -o mattrans mattrans.c -lpari -lm
  21. }
  22.  
  23. \vfill\eject
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.