home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / pd / graphics / 3d / icoons / source / makefile < prev    next >
Makefile  |  1992-11-20  |  3KB  |  135 lines

  1. #----------------------------------------------------------------------
  2. # Makefile for ICoons.
  3. #
  4. # For a NTSC version:
  5. #    Use GadToolsBox on Windows_NTSC.g to generate windows.c & windows.h
  6. #    and compile with -DNTSC option
  7. #
  8. # For a PAL version:
  9. #    Use GadToolsBox on Windows_PAL.g to generate windows.c & windows.h
  10. #    and compile WITHOUT -DNTSC option
  11. #
  12. #----------------------------------------------------------------------
  13. #
  14. # Rules:
  15. #
  16. CC    =     gcc
  17. #
  18. .DEFAULT:
  19.  
  20. #
  21. # Debug flags:
  22. #
  23. DEBUG    = 
  24.  
  25. #
  26. # Machine dependent flags:
  27. #
  28.  
  29. MFLAGS    =     -m68881 -m68020
  30. #MFLAGS    =
  31. #
  32. # NTSC Flag:
  33. #
  34. #NTSC    = -DNTSC
  35. NTSC    = 
  36.  
  37. #
  38. CFLAGS     =     $(DEBUG) $(MFLAGS) $(NTSC)
  39.  
  40. LFLAGS     =     $(CFLAGS) 
  41.  
  42. LIBS    =     gcc:lib/libsipp.a -lamiga -lm
  43.  
  44. #
  45. # What this makefile produces:
  46. #
  47.  
  48. TARGET    =     ICoons
  49.  
  50. OBJS      =     globals.o intui.o timer.o spl_math.o spl_util.o spl_gfx.o \
  51.         file.o ttddd.o tesselate.o commands.o knotinfo.o windows.o \
  52.         render.o normal.o add.o rotate_p.o pan.o center.o group.o move.o \
  53.         scale_g.o rotate_g.o origin.o config.o
  54.  
  55. all:        $(TARGET)
  56.  
  57. ICoons:        ICoons.o $(OBJS)
  58.         $(CC) $(LFLAGS) -o ICoons ICoons.o $(OBJS) $(LIBS)
  59.  
  60. clean:
  61.         delete #?.o
  62.             delete ICoons
  63.  
  64. #----------------------------------------------------------------------
  65. # Dependencies (probably not up to date):
  66. #----------------------------------------------------------------------
  67.  
  68. ICoons.o:    ICoons.c general.h globals.h intui.h file.h normal.h
  69.  
  70. globals.o:    globals.c general.h globals.h
  71.  
  72. intui.o:    intui.c general.h globals.h intui.h timer.h windows.h \
  73.         commands.h knotinfo.h rotate_p.h pan.h center.h group.h \
  74.         scale_g.h rotate_g.h move.h origin.h spl_gfx.h
  75.  
  76. timer.o:    timer.c general.h globals.h intui.h timer.h
  77.  
  78. spl_math.o:    spl_math.c general.h globals.h spl_math.h
  79.  
  80. spl_util.o:    spl_util.c general.h globals.h spl_math.h spl_util.h \
  81.         spl_gfx.h intui.h
  82.  
  83. spl_gfx.o:    spl_gfx.c general.h globals.h intui.h spl_math.h \
  84.         spl_util.h spl_gfx.h
  85.  
  86. file.o:        file.c general.h globals.h intui.h spl_util.h file.h
  87.  
  88. render.o:    render.c render.h general.h globals.h tesselate.h
  89.  
  90. ttddd.o:    ttddd.c ttddd.h general.h globals.h tesselate.h
  91.  
  92. tesselate.o:    tesselate.c tesselate.h general.h globals.h intui.h \
  93.         spl_math.h
  94.  
  95. commands.o:    commands.c general.h globals.h intui.h spl_math.h \
  96.         spl_util.h spl_gfx.h \
  97.         file.h ttddd.h add.h move.h scale_g.h rotate_g.h \
  98.         knotinfo.h commands.h
  99.  
  100. knotinfo.o:    knotinfo.c general.h globals.h intui.h spl_math.h \
  101.         spl_util.h knotinfo.h
  102.  
  103. normal.o:    normal.c general.h globals.h intui.h spl_math.h \
  104.         spl_util.h spl_gfx.h pan.h add.h move.h normal.h
  105.  
  106. move.o:        move.c general.h globals.h intui.h spl_math.h \
  107.         spl_util.h spl_gfx.h move.h
  108.  
  109.  
  110. scale_g.o:    scale_g.c general.h globals.h intui.h timer.h \
  111.         spl_math.h spl_util.h spl_gfx.h scale_g.h
  112.  
  113. rotate_g.o:    rotate_g.c general.h globals.h intui.h timer.h \
  114.         spl_math.h spl_util.h spl_gfx.h rotate_g.h
  115.  
  116. origin.o:    origin.c general.h globals.h intui.h normal.h \
  117.         spl_math.h spl_util.h spl_gfx.h origin.h
  118.  
  119. add.o:        add.c general.h globals.h intui.h spl_math.h \
  120.         spl_util.h spl_gfx.h add.h move.h
  121.  
  122. rotate_p.o:    rotate_p.c general.h globals.h intui.h timer.h \
  123.         spl_math.h spl_util.h spl_gfx.h rotate_p.h
  124.  
  125. pan.o:        pan.c general.h globals.h intui.h timer.h \
  126.         spl_math.h spl_util.h spl_gfx.h pan.h
  127.  
  128. center.o:    center.c general.h globals.h intui.h normal.h \
  129.         spl_math.h spl_util.h spl_gfx.h center.h
  130.  
  131. group.o:    group.c general.h globals.h intui.h normal.h \
  132.         spl_math.h spl_util.h spl_gfx.h group.h
  133.  
  134. config.o:    config.c general.h globals.h intui.h config.h
  135.