home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / pd / programming / utils / cweb / amiga / makefile < prev   
Makefile  |  1993-01-21  |  1KB  |  38 lines

  1. # Makefile for ctangle and cweave using SAS/C 6.1
  2. # If your compiler complains about too much code in one module when
  3. # compiling 'cweave.c', you should delete '-dDEBUG' in 'CFLAGS'
  4. # To get the documentation files, type 'lmk docs'
  5. # To clean your directory up, type 'lmk clean'. (NB: This works only if
  6. # you are using the ARP 1.3 commands or if you have Kickstart 2.0 installed
  7. # and use a command like 'wildstar')
  8.  
  9. .c.o:
  10.     sc $(CFLAGS) $*.c
  11.  
  12. CFLAGS=OPT NOOPTPEEP NODBG DEF=DEBUG DEF=STAT NOSTKCHK IGN=85+100+154+161 DATA=FAR
  13.  
  14. all: ctangle cweave
  15.  
  16. cweave: cweave.o common.o cweave.lnk
  17.     slink with cweave.lnk
  18.  
  19. ctangle: ctangle.o common.o ctangle.lnk
  20.     slink with ctangle.lnk
  21.  
  22. ctangle.o: ctangle.c
  23. common.o: common.c
  24. cweave.o: cweave.c
  25.     sc $(CFLAGS) CODE=FAR cweave.c
  26.  
  27. cweave.c: cweave.w cweave.ch common.h prod.w
  28.     ctangle cweave.w cweave.ch
  29. ctangle.c: ctangle.w common.h
  30.     ctangle ctangle.w
  31. common.c: common.w common.ch
  32.     ctangle common.w common.ch
  33.  
  34. clean:
  35.     delete >NIL: *.o *.log *.toc *.dvi
  36.     delete >NIL: common.tex ctangle.tex cweave.tex
  37.     delete >NIL: common.c ctangle.c cweave.c
  38.