home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d6xx / d671 / tr2tex.lha / tr2tex / tr2tex.zoo / makefile.unix < prev    next >
Makefile  |  1987-11-23  |  622b  |  29 lines

  1. # Use makefile.msc if you are compiling with MS-DOS
  2.  
  3. # add -Dtops20 to CFLAGS if you're running it under tops20
  4. # and add -DANSI if you're using ANSI C
  5. CFLAGS =
  6. LINTFLAGS = -abchnpux
  7. CFILES = tr2tex.c tr.c subs.c
  8. HFILES = setups.h simil.h greek.h macros.h maths.h flip.h forbid.h
  9. B =
  10.  
  11. default: tr2tex
  12.  
  13. tr2tex: tr2tex.o tr.o subs.o
  14.     cc $(CFLAGS) tr2tex.o tr.o subs.o -o $(B)tr2tex
  15.  
  16. tr2tex.o: tr2tex.c setups.h
  17.     cc $(CFLAGS) -c tr2tex.c
  18. tr.o: tr.c setups.h
  19.     cc $(CFLAGS) -c tr.c
  20. subs.o: subs.c $(HFILES)
  21.     cc $(CFLAGS) -c subs.c
  22.  
  23. lint:
  24.     lint $(LINTFLAGS) $(CFILES) > lint.lst
  25.  
  26. clean:
  27.     \rm -f *.o core *junk* tr2tex lint.lst
  28.  
  29.