home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume13 / ratfor / makefile < prev    next >
Encoding:
Makefile  |  1988-02-27  |  488 b   |  26 lines

  1. # pd ratfor (oz)
  2. #
  3. # if F77 is defined, the output
  4. # of ratfor is Fortran 77.
  5. #
  6. CFLAGS = -DF77 -O
  7. DEST = /usr/local/bin
  8. OBJS = rat4.o lookup.o getopt.o
  9. CSRC = rat4.c lookup.c getopt.c
  10. HSRC = ratdef.h ratcom.h lookup.h
  11. DOCS = README ratfor.doc
  12. RSRC = test.r makefile
  13.  
  14. rat4:    ${OBJS}
  15.     cc -o ratfor ${OBJS}
  16.  
  17. rat4.o:        ratdef.h ratcom.h
  18. lookup.o:    lookup.h
  19.  
  20. install: rat4
  21.     install ./ratfor ${DEST}/ratfor
  22. clean:
  23.     rm -f *.o core ratfor
  24. pack:
  25.     shar -a ${CSRC} ${HSRC} ${DOCS} ${RSRC} >RATFOR.SHAR
  26.