home *** CD-ROM | disk | FTP | other *** search
/ RISCWORLD 7 / RISCWORLD_VOL7.iso / Software / Issue4 / IYONIX / MANICMINER / SOURCE.ZIP / manicminer-1.6.3 / Makefile.r next >
Encoding:
Makefile  |  2006-07-18  |  1.4 KB  |  54 lines

  1. CC    = cc
  2. AS    = objasm
  3. LINK    = link
  4.  
  5. Cflags = -c -Otime -Ospace -depend !Depend -IC:,OSLib: -throwback -ffahu -DDIRECTSCREEN -c90
  6. Linkflags = -aif -c++ -o $@
  7. ASflags = -throwback -depend !Depend -pd "ARM32 SETA 1"
  8.  
  9. all:    manic
  10.  
  11. .SUFFIXES: .c .s .o
  12. .s.o:; $(AS) $(ASflags) $<
  13. .c.o:; $(CC) $(Cflags) $<
  14.  
  15. DATA_OBJ = miscdata.o.end miscdata.o.misc
  16.  
  17. GAME_OBJ = o.cmdline o.core o.demo o.end o.game o.graph o.loading o.main \
  18.        o.manic o.misc o.titles o.version
  19.  
  20. RO_OBJ    = o.init o.frontend o.ROsound o.ROsupport o.mm-anim
  21.  
  22. OBJ    = $(RO_OBJ) $(GAME_OBJ)
  23. LIBS    = C:o.stubsg OSLib:o.OSLib32
  24.  
  25. manic:    $(OBJ)
  26.     $(LINK) $(Linkflags) $(OBJ) $(LIBS)
  27.  
  28. clean:
  29.     ifthere o.* then wipe o.* ~cfr~v
  30.     remove manic
  31.  
  32. # User-editable dependencies:
  33. data.ColTable data.VolScale: data.MakeTables
  34.     run <Prefix$Dir>.systems.riscos.data.MakeTables
  35.  
  36. o.mm-anim:    systems.riscos.data.mm-anim
  37.     datatoaof -f systems.riscos.data.mm-anim -o o.mm-anim -D mm_anim -N -R -DP
  38.  
  39. o.end:        miscdata.c.end
  40.     $(CC) $(Cflags) miscdata.c.end
  41. o.misc:        miscdata.c.misc
  42.     $(CC) $(Cflags) miscdata.c.misc
  43.  
  44. o.init:        systems.riscos.c.init
  45.     $(CC) $(Cflags) systems.riscos.c.init
  46. o.frontend:    systems.riscos.c.frontend
  47.     $(CC) $(Cflags) systems.riscos.c.frontend
  48. o.ROsound:    systems.riscos.c.ROsound
  49.     $(CC) $(Cflags) systems.riscos.c.ROsound
  50. o.ROsupport:    systems.riscos.s.ROsupport systems.riscos.data.ColTable
  51.     $(AS) $(ASflags) systems.riscos.s.ROsupport
  52.  
  53. # Dynamic dependencies:
  54.