home *** CD-ROM | disk | FTP | other *** search
Makefile | 2001-02-25 | 761 b | 39 lines |
- # MAKEFILE - For SAS-C v6.1 smake
- # Compiler options:
- # - No multiple includes;
- # - String merge;
- # - Unsigned chars;
- # - Optimization;
- # - No stack checking;
- # - Verbose compiler output.
-
- C0 = nominc strmer uchar opt nostkchk verbose
- L0 = SC:C/slink FROM LIB:cback.o
- L1 = LIBRARY LIB:sc.lib LIB:amiga.lib
- L2 =
- LD = App:Lint/
- LH = Include:
-
- SRC = main.c beginend.c dt.c ts.c
- INC = main.h ext.h global.h beginend.h dt.h ts.h
- BIN = main.o beginend.o dt.o ts.o
-
- .c.o:
- SC:C/sc $(C0) $*
-
-
- dt: $(BIN)
- $(L0) $(BIN) TO $@ $(L1) $(L2)
-
- dt.lint: $(SRC) $(INC)
- $(LD)lint >$@ +vm -zero -i$(LH) $(LD)co $(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
-