home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 581a.lha / IntuitionSupLibrary_v2.0 / Gadgets / source.lzh / makefile < prev   
Makefile  |  1991-10-21  |  823b  |  35 lines

  1. #
  2. #        Makefile for Gadgets
  3. #
  4. # Macros
  5. #
  6. CFLAGS_PRE =-a -pacs -so -wdelopqw -ho ram:gadgets.pre
  7. #CFLAGS_PRE =-a -dMWDEBUG -pacs -so -wdelopqw -ho ram:gadgets.pre
  8. CFLAGS_TEST=-pacs -so -wdelopqw -hi ram:gadgets.pre
  9. CFLAGS_LIB =-mb -pacs -so -wdelopqw -hi ram:gadgets.pre
  10. LFLAGS     =-m +q
  11. OBJECTS    =gadgets1.o gadgets2.o gadgets3.o gadgets_test.o /render/render.o\
  12.  /texts/texts.o /borders/borders.o
  13. LIBRARIES  =-lmemwatch16 -lc16
  14. #
  15. # Dependancy entries
  16. #
  17. all: ram:gadgets.pre gadgets_test
  18. #
  19. .c.o:
  20.    cc $(CFLAGS_LIB) -o $@ $*.c
  21. #
  22. ram:gadgets.pre: gadgets.pre
  23.    copy gadgets.pre $@ clone
  24. #
  25. gadgets.pre: includes.h
  26.    cc $(CFLAGS_PRE) -o nil: includes.h
  27.    copy ram:$@ $@ clone
  28. #
  29. gadgets_test: $(OBJECTS)
  30.    ln $(LFLAGS) -o $@ $(OBJECTS) $(LIBRARIES)
  31. #
  32. gadgets_test.o: gadgets_test.c
  33.    cc $(CFLAGS_TEST) -o $@ $*.c
  34. #
  35.