home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d6xx / d663 / debugutils.lha / DebugUtils / Make.SAS < prev    next >
Encoding:
Text File  |  1992-05-21  |  833 b   |  42 lines

  1. #  Makefile for compiling and linking the debugging facilities.
  2.  
  3. CC = lc
  4. LD = blink
  5.  
  6. CFLAGS       = -ff 
  7. LDFLAGS      =  
  8. DBFLAGS        = -dDEBUG
  9.  
  10. LIBS         =  lib:lcmffp.lib lib:lc.lib lib:amiga.lib
  11. DEBUGLIBS    =    lib:debug.lib lib:ddebug.lib
  12. TRACELIB        =    trace.lib
  13.  
  14. PROGS        =  debug tDB test
  15. LIB            =    trace.lib
  16.  
  17. all:     $(PROGS) $(LIB)
  18.  
  19. debug: debug.o
  20.    $(LD) lib:c.o debug.o to debug lib $(LIBS) $(DEBUGLIBS) $(LDFLAGS)
  21.  
  22. debug.o: debug.c debug.h trace.h
  23.    $(CC) $(CFLAGS) debug.c
  24.  
  25. tDB: tDB.o
  26.    $(LD) lib:c.o tDB.o to tDB lib $(LIBS) $(LDFLAGS)
  27.  
  28. tDB.o: tDB.c debug.h trace.h
  29.    $(CC) $(CFLAGS) tDB.c
  30.  
  31. trace.lib: trace.o
  32.     oml trace.lib r trace.o
  33.  
  34. trace.o: trace.c debug.h trace.h
  35.     $(CC) $(CFLAGS) trace.c
  36.  
  37. test: test.o trace.lib
  38.     $(LD) lib:c.o test.o to test lib $(TRACELIB) $(LIBS)
  39.  
  40. test.o: test.c debug.h
  41.     $(CC) $(CFLAGS) $(DBFLAGS) test.c
  42.