home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / graphics / sprtools_1 / riscos / makefile < prev    next >
Encoding:
Makefile  |  1998-04-07  |  6.8 KB  |  311 lines

  1. # Project:   SPRtools
  2.  
  3.  
  4. # Toolflags:
  5. CCflags      = -c -depend !Depend -throwback -DRISCOS -IC:
  6. Linkflags    = -L@.o.conv_lib,C:o.stubs -o $@
  7. ObjAsmflags  = -depend !Depend -ThrowBack -Stamp -quit -CloseExec
  8. CMHGflags    =
  9. LibFileflags = -c -o $@
  10. Squeezeflags = -v $@
  11. AAsmflags    = -depend !Depend -quit -CloseExec -To $@ -From
  12.  
  13.  
  14. # Final targets:
  15. all:    @.bin.spr_fsi     \
  16.         @.bin.spr_diff    \
  17.         @.bin.spr_pal     \
  18.         @.bin.spr3spr     \
  19.         @.bin.spr2xbm     \
  20.         @.bin.spr2bmp     \
  21.         @.bin.spr2ras     \
  22.         @.bin.spr2sb      \
  23.         @.bin.spr2tga     \
  24.         @.bin.spr2xwd     \
  25.         @.bin.spr2clr     \
  26.         @.bin.bmp2spr     \
  27.         @.bin.ras2spr     \
  28.         @.bin.sb2spr      \
  29.         @.bin.tga2spr     \
  30.         @.bin.xwd2spr     \
  31.         @.bin.clr2spr     \
  32.         @.bin.bmp_info    \
  33.         @.bin.ras_info    \
  34.         @.bin.sb_info     \
  35.         @.bin.tga_info    \
  36.         @.bin.xwd_info    \
  37.         @.bin.clr_info    \
  38.         @.bin.spr_info    \
  39.         @.bin.chmode
  40.  
  41. .SUFFIXES: .o .c
  42.  
  43. .c.o:;  cc $(ccflags) $<
  44.  
  45.  
  46. @.o.conv_lib: @.o.io      \
  47.           @.o.sprite  \
  48.           @.o.colours \
  49.           @.o.process \
  50.           @.o.palette
  51.         libfile $(LibFileflags) @.o.io        \
  52.                                 @.o.sprite  \
  53.                                 @.o.colours \
  54.                                 @.o.process \
  55.                                 @.o.palette
  56.  
  57.  
  58. @.bin.spr_fsi: @.o.spr_fsi @.o.conv_lib
  59.         cc $(linkflags) @.o.spr_fsi
  60.         Squeeze $(Squeezeflags)
  61.  
  62. @.bin.spr_diff: @.o.spr_diff @.o.conv_lib
  63.         cc $(linkflags) @.o.spr_diff
  64.         Squeeze $(Squeezeflags)
  65.  
  66. @.bin.spr_pal: @.o.spr_pal @.o.conv_lib
  67.         cc $(linkflags) @.o.spr_pal
  68.         Squeeze $(Squeezeflags)
  69.  
  70. @.bin.spr3spr: @.o.spr3spr @.o.conv_lib
  71.         cc $(linkflags) @.o.spr3spr
  72.         Squeeze $(Squeezeflags)
  73.  
  74. @.bin.spr2xbm: @.o.spr2xbm @.o.conv_lib
  75.         cc $(linkflags) @.o.spr2xbm
  76.         Squeeze $(Squeezeflags)
  77.  
  78. @.bin.spr2bmp: @.o.spr2bmp @.o.conv_lib
  79.         cc $(linkflags) @.o.spr2bmp
  80.         Squeeze $(Squeezeflags)
  81.  
  82. @.bin.spr2ras: @.o.spr2ras @.o.conv_lib
  83.         cc $(linkflags) @.o.spr2ras
  84.         Squeeze $(Squeezeflags)
  85.  
  86. @.bin.spr2sb:  @.o.spr2sb @.o.conv_lib
  87.         cc $(linkflags) @.o.spr2sb
  88.         Squeeze $(Squeezeflags)
  89.  
  90. @.bin.spr2tga: @.o.spr2tga @.o.conv_lib
  91.         cc $(linkflags) @.o.spr2tga
  92.         Squeeze $(Squeezeflags)
  93.  
  94. @.bin.spr2xwd: @.o.spr2xwd @.o.conv_lib
  95.         cc $(linkflags) @.o.spr2xwd
  96.         Squeeze $(Squeezeflags)
  97.  
  98. @.bin.spr2clr: @.o.spr2clr @.o.conv_lib
  99.         cc $(linkflags) @.o.spr2clr
  100.         Squeeze $(Squeezeflags)
  101.  
  102. @.bin.bmp2spr: @.o.bmp2spr @.o.conv_lib
  103.         cc $(linkflags) @.o.bmp2spr
  104.         Squeeze $(Squeezeflags)
  105.  
  106. @.bin.ras2spr: @.o.ras2spr @.o.conv_lib
  107.         cc $(linkflags) @.o.ras2spr
  108.         Squeeze $(Squeezeflags)
  109.  
  110. @.bin.sb2spr: @.o.sb2spr @.o.conv_lib
  111.         cc $(linkflags) @.o.sb2spr
  112.         Squeeze $(Squeezeflags)
  113.  
  114. @.bin.tga2spr: @.o.tga2spr @.o.conv_lib
  115.         cc $(linkflags) @.o.tga2spr
  116.         Squeeze $(Squeezeflags)
  117.  
  118. @.bin.xwd2spr: @.o.xwd2spr @.o.conv_lib
  119.         cc $(linkflags) @.o.xwd2spr
  120.         Squeeze $(Squeezeflags)
  121.  
  122. @.bin.clr2spr: @.o.clr2spr @.o.conv_lib
  123.         cc $(linkflags) @.o.clr2spr
  124.         Squeeze $(Squeezeflags)
  125.  
  126. @.bin.bmp_info:   @.o.bmp_info @.o.conv_lib
  127.         cc $(linkflags) @.o.bmp_info
  128.         Squeeze $(Squeezeflags)
  129.  
  130. @.bin.ras_info:   @.o.ras_info @.o.conv_lib
  131.         cc $(linkflags) @.o.ras_info
  132.         Squeeze $(Squeezeflags)
  133.  
  134. @.bin.sb_info:   @.o.sb_info @.o.conv_lib
  135.         cc $(linkflags) @.o.sb_info
  136.         Squeeze $(Squeezeflags)
  137.  
  138. @.bin.tga_info:  @.o.tga_info @.o.conv_lib
  139.         cc $(linkflags) @.o.tga_info
  140.         Squeeze $(Squeezeflags)
  141.  
  142. @.bin.xwd_info:  @.o.xwd_info @.o.conv_lib
  143.         cc $(linkflags) @.o.xwd_info
  144.         Squeeze $(Squeezeflags)
  145.  
  146. @.bin.clr_info:  @.o.clr_info @.o.conv_lib
  147.         cc $(linkflags) @.o.clr_info
  148.         Squeeze $(Squeezeflags)
  149.  
  150. @.bin.spr_info:  @.o.spr_info @.o.conv_lib
  151.         cc $(linkflags) @.o.spr_info
  152.         Squeeze $(Squeezeflags)
  153.  
  154. @.bin.chmode:  @.o.chmode @.o.conv_lib
  155.         cc $(linkflags) @.o.chmode
  156.         Squeeze $(Squeezeflags)
  157.  
  158.  
  159. # Dynamic dependencies:
  160. o.spr_fsi:    c.spr_fsi
  161. o.spr_fsi:    h.io
  162. o.spr_fsi:    h.sprite
  163. o.spr_fsi:    h.io
  164. o.spr_fsi:    h.process
  165. o.spr_fsi:    h.sprite
  166. o.spr_fsi:    h.colours
  167. o.spr_fsi:    h.sprite
  168. o.spr_fsi:    h.palette
  169. o.spr_fsi:    h.sprite
  170. o.spr_diff:    c.spr_diff
  171. o.spr_diff:    h.io
  172. o.spr_diff:    h.sprite
  173. o.spr_diff:    h.io
  174. o.spr_pal:    c.spr_pal
  175. o.spr_pal:    h.io
  176. o.spr_pal:    h.sprite
  177. o.spr_pal:    h.io
  178. o.spr_pal:    h.process
  179. o.spr_pal:    h.sprite
  180. o.spr_pal:    h.colours
  181. o.spr_pal:    h.sprite
  182. o.spr_pal:    h.palette
  183. o.spr_pal:    h.sprite
  184. o.spr3spr:    c.spr3spr
  185. o.spr3spr:    h.io
  186. o.spr3spr:    h.sprite
  187. o.spr3spr:    h.io
  188. o.spr2xbm:    c.spr2xbm
  189. o.spr2xbm:    h.io
  190. o.spr2xbm:    h.sprite
  191. o.spr2xbm:    h.io
  192. o.spr2bmp:    c.spr2bmp
  193. o.spr2bmp:    h.io
  194. o.spr2bmp:    h.bmp
  195. o.spr2bmp:    h.sprite
  196. o.spr2bmp:    h.io
  197. o.spr2ras:    c.spr2ras
  198. o.spr2ras:    h.io
  199. o.spr2ras:    h.sprite
  200. o.spr2ras:    h.io
  201. o.spr2ras:    h.ras
  202. o.spr2sb:    c.spr2sb
  203. o.spr2sb:    h.io
  204. o.spr2sb:    h.sprite
  205. o.spr2sb:    h.io
  206. o.spr2sb:    h.sb
  207. o.spr2tga:    c.spr2tga
  208. o.spr2tga:    h.io
  209. o.spr2tga:    h.sprite
  210. o.spr2tga:    h.io
  211. o.spr2tga:    h.tga
  212. o.spr2xwd:    c.spr2xwd
  213. o.spr2xwd:    h.io
  214. o.spr2xwd:    h.sprite
  215. o.spr2xwd:    h.io
  216. o.spr2xwd:    h.xwd
  217. o.spr2clr:    c.spr2clr
  218. o.spr2clr:    h.io
  219. o.spr2clr:    h.sprite
  220. o.spr2clr:    h.io
  221. o.spr2clr:    h.clear
  222. o.bmp2spr:    c.bmp2spr
  223. o.bmp2spr:    h.io
  224. o.bmp2spr:    h.bmp
  225. o.bmp2spr:    h.sprite
  226. o.bmp2spr:    h.io
  227. o.ras2spr:    c.ras2spr
  228. o.ras2spr:    h.io
  229. o.ras2spr:    h.sprite
  230. o.ras2spr:    h.io
  231. o.ras2spr:    h.ras
  232. o.sb2spr:    c.sb2spr
  233. o.sb2spr:    h.io
  234. o.sb2spr:    h.sprite
  235. o.sb2spr:    h.io
  236. o.sb2spr:    h.sb
  237. o.tga2spr:    c.tga2spr
  238. o.tga2spr:    h.io
  239. o.tga2spr:    h.sprite
  240. o.tga2spr:    h.io
  241. o.tga2spr:    h.tga
  242. o.xwd2spr:    c.xwd2spr
  243. o.xwd2spr:    h.io
  244. o.xwd2spr:    h.sprite
  245. o.xwd2spr:    h.io
  246. o.xwd2spr:    h.xwd
  247. o.clr2spr:    c.clr2spr
  248. o.clr2spr:    h.io
  249. o.clr2spr:    h.sprite
  250. o.clr2spr:    h.io
  251. o.clr2spr:    h.clear
  252. o.bmp_info:    c.bmp_info
  253. o.bmp_info:    h.io
  254. o.bmp_info:    h.bmp
  255. o.ras_info:    c.ras_info
  256. o.ras_info:    h.io
  257. o.ras_info:    h.ras
  258. o.sb_info:    c.sb_info
  259. o.sb_info:    h.io
  260. o.sb_info:    h.sb
  261. o.tga_info:    c.tga_info
  262. o.tga_info:    h.io
  263. o.tga_info:    h.tga
  264. o.xwd_info:    c.xwd_info
  265. o.xwd_info:    h.io
  266. o.xwd_info:    h.xwd
  267. o.clr_info:    c.clr_info
  268. o.clr_info:    h.io
  269. o.clr_info:    h.clear
  270. o.spr_info:    c.spr_info
  271. o.spr_info:    h.io
  272. o.spr_info:    h.sprite
  273. o.spr_info:    h.io
  274. o.spr_info:    h.palette
  275. o.spr_info:    h.sprite
  276. o.chmode:    c.chmode
  277. o.chmode:    h.io
  278. o.chmode:    h.sprite
  279. o.chmode:    h.io
  280. o.io:    c.io
  281. o.io:    h.io
  282. o.sprite:    c.sprite
  283. o.sprite:    h.io
  284. o.sprite:    h.sprite
  285. o.sprite:    h.io
  286. o.colours:    c.colours
  287. o.colours:    h.sprite
  288. o.colours:    h.io
  289. o.colours:    h.colours
  290. o.colours:    h.sprite
  291. o.process:    c.process
  292. o.process:    h.sprite
  293. o.process:    h.io
  294. o.process:    h.colours
  295. o.process:    h.sprite
  296. o.process:    h.palette
  297. o.process:    h.sprite
  298. o.process:    h.process
  299. o.process:    h.sprite
  300. o.process:    h.colours
  301. o.palette:    c.palette
  302. o.palette:    h.io
  303. o.palette:    h.sprite
  304. o.palette:    h.io
  305. o.palette:    h.process
  306. o.palette:    h.sprite
  307. o.palette:    h.colours
  308. o.palette:    h.sprite
  309. o.palette:    h.palette
  310. o.palette:    h.sprite
  311.