home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume10 / tr2latex / makefile.msc < prev    next >
Encoding:
Makefile  |  1987-06-30  |  835 b   |  38 lines

  1. #-----------------------------------------------------------------------
  2. # Makefile for troff-to-TeX translator using MS-DOS
  3. # Make targets:
  4. #    (none)    same as tr2tex
  5. #    tr2tex    build translator
  6. #    lint    run lint on sources
  7. #    clean    remove object and executable files
  8. #    share    make ../ttr.sh for mailing
  9. #
  10. # Author: Nelson H.F. Beebe     25-Oct-86
  11.  
  12. CFLAGS = -O -DMSC -DNO_SGTTY
  13. CFILES = tr2tex.c tr.c subs.c
  14. LINTFLAGS = -abchnpux
  15. B =
  16.  
  17. tr2tex:    tr2tex.o tr.o subs.o
  18.     cc $(CFLAGS) tr2tex.o tr.o subs.o -o $(B)tr2tex
  19.  
  20. share:
  21.     make clean
  22.     makescript ../ttr.sh *
  23.  
  24. tr2tex.o:    tr2tex.c setups.h
  25.     cc $(CFLAGS) -c tr2tex.c
  26.  
  27. tr.o:    tr.c setups.h
  28.     cc $(CFLAGS) -c tr.c
  29.  
  30. subs.o:    subs.c setups.h similar.h greek.h flip.h troff_mac.h mathcom.h
  31.     cc $(CFLAGS) -c subs.c
  32.  
  33. lint:
  34.     lint $(LINTFLAGS) $(CFILES) > lint.lst
  35.  
  36. clean:
  37.     \rm -f *.o core *junk* tr2tex lint.lst
  38.