home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d8xx / d828 / disktest.lha / DiskTest / Source / smakefile < prev    next >
Makefile  |  2001-02-25  |  761b  |  39 lines

  1. # MAKEFILE - For SAS-C v6.1 smake
  2. # Compiler options:
  3. # - No multiple includes;
  4. # - String merge;
  5. # - Unsigned chars;
  6. # - Optimization;
  7. # - No stack checking;
  8. # - Verbose compiler output.
  9.  
  10. C0 = nominc strmer uchar opt nostkchk verbose
  11. L0 = SC:C/slink FROM LIB:cback.o
  12. L1 = LIBRARY LIB:sc.lib LIB:amiga.lib
  13. L2 =
  14. LD = App:Lint/
  15. LH = Include:
  16.  
  17. SRC = main.c beginend.c dt.c ts.c
  18. INC = main.h ext.h global.h beginend.h dt.h ts.h
  19. BIN = main.o beginend.o dt.o ts.o
  20.  
  21. .c.o:
  22.   SC:C/sc $(C0) $*
  23.  
  24.  
  25. dt: $(BIN)
  26.   $(L0) $(BIN) TO $@ $(L1) $(L2)
  27.  
  28. dt.lint:  $(SRC) $(INC)
  29.   $(LD)lint >$@ +vm -zero -i$(LH) $(LD)co $(SRC)
  30.  
  31.  
  32. beginend.o: beginend.c main.h ext.h beginend.h
  33.  
  34. dt.o:       dt.c main.h ext.h dt.h
  35.  
  36. main.o:     main.c main.h global.h
  37.  
  38. ts.o:       ts.c main.h ext.h ts.h
  39.