home *** CD-ROM | disk | FTP | other *** search
/ Netware Super Library / Netware Super Library.iso / mis_util / trace27 / makefile < prev    next >
Encoding:
Makefile  |  1994-10-01  |  834 b   |  37 lines

  1. OBJ=trace.obj doprnt.obj getopt.obj
  2. CFLAGS=-Gs -ASw -Oi
  3. CC=cl
  4.  
  5. all: trace.exe trace.lpr trace.man
  6.  
  7. trace.exe: $(OBJ)
  8.     $(CC) $(CFLAGS) -o trace $(OBJ)
  9.  
  10. trace.lpr: trace.1
  11.     nroff -Tepson -man trace.1 | sed -e "1,66d;s/_\(.\)/-1\1-0/g;s/-0-1//g;s/j\.J//g" >trace.lpr
  12.  
  13. trace.man: trace.1
  14.     nroff -man trace.1 | sed -e "1,66d;s/.//g" >trace.man
  15.  
  16. trace.dvi:
  17.     latex trace
  18.  
  19. clean:
  20.     rm -f *.obj *.exe *.aux *.log *.dvi
  21.  
  22. zip:
  23.     z -a trace trace.exe trace.man trace.c doprnt.c getopt.c makefile trace.1 article.ps
  24.  
  25. install: trace.exe
  26.     exepack trace.exe \usr\local\bin\trace.exe
  27.  
  28. backup:
  29.     xcopy *.c a:\trace /m
  30.     xcopy *.exe a:\trace /m
  31.     xcopy *.?%v a:\trace /m
  32.     xcopy makefile a:\trace /m
  33.     xcopy todo a:\trace /m
  34.     xcopy trace.1 a:\trace /m
  35.     xcopy article.tex a:\trace /m
  36.     xcopy letter.fw3 a:\trace /m
  37.