home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-03-22 | 969 b | 46 lines |
- # MAKEFILE - For SAS-C v6.2 smake
- #
- # Compiler options:
- # - No multiple includes;
- # - String merge;
- # - Unsigned chars;
- # - Optimization;
- # - No stack checking;
- # - Verbose compiler output.
- #
- # Special version of C1/L1/L3 used for debugging follow.
-
- C0 = SC:C/SC
- C1 = nominc strmer uchar opt nostkchk verbose def=MAIN=_main
- L0 = SC:C/slink
- L1 = LIB:cback.o
- L2 = LIB:sc.lib LIB:amiga.lib
- L3 = verbose
- Z0 = App:Lint/Lint
- Z1 = +vm -zero -iInclude: App:Lint/co
-
- #C1 = nominc strmer uchar nostkchk verbose dbg=sf def=MAIN=main
- #L1 = LIB:c.o
- #L3 = verbose addsym
-
- SRC = main.c beginend.c dt.c ts.c
- INC = main.h beginend.h dt.h ts.h ext.h global.h
- BIN = main.o beginend.o dt.o ts.o
-
- .c.o:
- $(C0) $(C1) $*
-
- dt: $(BIN)
- $(L0) FROM $(L1) $(BIN) TO $@ LIBRARY $(L2) $(L3)
-
- dt.lint: $(SRC) $(INC)
- $(Z0) >$@ $(Z1) $(SRC)
-
- beginend.o: beginend.c main.h ext.h beginend.h
-
- dt.o: dt.c main.h ext.h dt.h
-
- main.o: main.c main.h global.h
-
- ts.o: ts.c main.h ext.h ts.h
-