home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / pd / utilities / monitors / snoopdos / src / makefile next >
Makefile  |  1992-12-16  |  968b  |  41 lines

  1. ###############################################################################
  2. #
  3. #    SAS/C V6.1 Makefile                    vi:ts=8
  4. #
  5. #    SnoopDos (C) Copyright Eddy Carroll, December 1992
  6. #
  7. #    See the SCOPTIONS file in this directory for default compiler options
  8. #
  9. ###############################################################################
  10.  
  11. CFLAGS  = # Most flags are set in SCOPTIONS
  12. AFLAGS  = incdir=include:
  13. SFLAGS    = sc sd nd map ram:map h x s f l o
  14. LIBS    = lib:sc.lib lib:amiga.lib lib:debug.lib
  15. GST     = snoopdos.gst
  16.  
  17. .c.o:
  18.     sc $(CFLAGS) gst=$(GST) $*.c
  19. .a.o:
  20.     sc $(AFLAGS) underscore $*.a    # Prefix all symbols with C-style _
  21. .s.o:
  22.     sc $(AFLAGS) $*.s        # Standard "pure" assembly
  23. .h.gst:
  24.     sc makegst=$(GST) $*.h
  25.  
  26. #
  27. # Makefile dependencies
  28. #
  29. all: snoopdos
  30.  
  31. OBJS    = tiny.o snoopdos.o snoopglue.o res.o
  32.  
  33. snoopdos: $(OBJS)
  34.     slink from $(OBJS) to SnoopDos $(SFLAGS) lib $(LIBS)
  35.  
  36. $(GST):        system.h
  37. tiny.o:        tiny.a
  38. snoopdos.o:    snoopdos.c     $(GST)
  39. snoopglue.o:    snoopglue.s
  40. res.o:        res.s
  41.