home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 20 / AACD20.BIN / AACD / Programming / AmIDE / developer / example / smakefile < prev    next >
Encoding:
Makefile  |  2001-03-04  |  1.5 KB  |  56 lines

  1. ###############################################################################
  2. #
  3. # SMakefile
  4. #
  5. # Makefile for the `SMake' utility required to build AmIDE-modules
  6. #
  7. # @(#) $Id: smakefile,v 1.2 2001/03/04 18:26:49 damato Exp $
  8. #
  9. # Copyright © 1998-2001 by LightSpeed Communiations GbR
  10. #   All Rights Reserved
  11. #
  12. ###############################################################################
  13.  
  14.  
  15. ###############################################################################
  16.  
  17. INCLUDEFILES    = sasc.module.h
  18.  
  19. CFLAGS          = 
  20.  
  21. LIBS            = lib:sc.lib lib:amiga.lib lib:savage_near.lib lib:debug.lib
  22.  
  23. OBJS            = StartUp.o LibInit.o sasc.module.o
  24.  
  25. ###############################################################################
  26.  
  27. all:        $(OBJS) $(INCLUDEFILES)
  28.             slink with <<
  29.             $(OBJS)
  30.             lib $(LIBS) to sasc.module noicons MAP sasc.module.map,h
  31.             <
  32.             @scopts debug=off optimize
  33.  
  34. debug:      
  35.             @scopts debug=sf nooptimize
  36.             @smake
  37.  
  38. touch:
  39.             @touch $(INCLUDEFILES)
  40.  
  41. #DEFINE#############COMMAND#############CHECK HEADERS FOR UPDATES#########
  42.  
  43. StartUp.o:          StartUp.c $(INCLUDEFILES)
  44.                     @sc StartUp.c
  45.  
  46. LibInit.o:          LibInit.c $(INCLUDEFILES)
  47.                     @sc LibInit.c
  48.  
  49. sasc.module.o:      sasc.module.c $(INCLUDEFILES)
  50.                     @sc sasc.module.c
  51.  
  52. ##########################################################################
  53.  
  54. clean:
  55.     -delete \#?.o\#o
  56.