home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-01-21 | 1.1 KB | 38 lines |
- # Makefile for ctangle and cweave using SAS/C 6.1
- # If your compiler complains about too much code in one module when
- # compiling 'cweave.c', you should delete '-dDEBUG' in 'CFLAGS'
- # To get the documentation files, type 'lmk docs'
- # To clean your directory up, type 'lmk clean'. (NB: This works only if
- # you are using the ARP 1.3 commands or if you have Kickstart 2.0 installed
- # and use a command like 'wildstar')
-
- .c.o:
- sc $(CFLAGS) $*.c
-
- CFLAGS=OPT NOOPTPEEP NODBG DEF=DEBUG DEF=STAT NOSTKCHK IGN=85+100+154+161 DATA=FAR
-
- all: ctangle cweave
-
- cweave: cweave.o common.o cweave.lnk
- slink with cweave.lnk
-
- ctangle: ctangle.o common.o ctangle.lnk
- slink with ctangle.lnk
-
- ctangle.o: ctangle.c
- common.o: common.c
- cweave.o: cweave.c
- sc $(CFLAGS) CODE=FAR cweave.c
-
- cweave.c: cweave.w cweave.ch common.h prod.w
- ctangle cweave.w cweave.ch
- ctangle.c: ctangle.w common.h
- ctangle ctangle.w
- common.c: common.w common.ch
- ctangle common.w common.ch
-
- clean:
- delete >NIL: *.o *.log *.toc *.dvi
- delete >NIL: common.tex ctangle.tex cweave.tex
- delete >NIL: common.c ctangle.c cweave.c
-