Makefile.Amiga 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. CC=sc
  2. LD=sc link
  3. CFLAGS= data=far optimize opttime
  4. LDFLAGS=
  5. OBJECT=ularn.o ularn_winami.o ularn_game.o ularn_ask.o store.o sphere.o spell.o show.o scroll.o scores.o saveutils.o savegame.o potion.o player.o object.o monster.o itm.o help.o getopt.o fortune.o dungeon_obj.o dungeon.o diag.o action.o ifftools.o bio.o smart_menu.o
  6. all: vlarn
  7. vlarn: $(OBJECT)
  8. $(LD) $(LDFLAGS) $(OBJECT) lib:scm.lib ProgramName=vlarn
  9. rebuild: archive vlarn
  10. clean:
  11. delete #?.o
  12. archive: clean
  13. del lib\vscore
  14. del lib\vlarn.pid
  15. del vlarn.ini
  16. del vlarn.opt
  17. ularn.o: ularn.c patchlevel.h ularn_game.h ularn_win.h ularn_ask.h getopt.h savegame.h scores.h header.h dungeon_obj.h dungeon.h player.h monster.h action.h object.h potion.h scroll.h spell.h show.h help.h diag.h itm.h
  18. $(CC) $(CFLAGS) ularn.c
  19. ularn_winami.obj: ularn_winami.c ularn_win.h header.h ularn_game.h config.h dungeon.h player.h ularnpc.rh monster.h itm.h ifftools.h
  20. $(CC) $(CFLAGS) ularn_winami.c
  21. ularn_game.o: ularn_game.c ularn_game.h config.h monster.h player.h
  22. $(CC) $(CFLAGS) ularn_game.c
  23. ularn_ask.o: ularn_ask.c ularn_ask.h ularn_game.h ularn_win.h header.h player.h dungeon.h
  24. $(CC) $(CFLAGS) ularn_ask.c
  25. store.o: store.c store.h ularn_game.h ularn_win.h ularn_ask.h saveutils.h header.h player.h potion.h scroll.h dungeon.h scores.h show.h itm.h
  26. $(CC) $(CFLAGS) store.c
  27. sphere.o: sphere.c sphere.h ularn_game.h ularn_win.h saveutils.h header.h monster.h player.h itm.h
  28. $(CC) $(CFLAGS) sphere.c
  29. spell.o: spell.c spell.h header.h ularn_game.h ularn_win.h ularn_ask.h sphere.h show.h dungeon.h monster.h player.h itm.h
  30. $(CC) $(CFLAGS) spell.c
  31. show.o: show.c show.h header.h ularn_game.h ularn_win.h ularn_ask.h dungeon.h player.h potion.h scroll.h spell.h itm.h
  32. $(CC) $(CFLAGS) show.c
  33. scroll.o: scroll.c scroll.h ularn_win.h header.h potion.h spell.h player.h dungeon.h dungeon_obj.h monster.h itm.h
  34. $(CC) $(CFLAGS) scroll.c
  35. scores.o: scores.c scores.h header.h ularn_game.h ularn_win.h ularn_ask.h monster.h itm.h dungeon.h player.h potion.h scroll.h store.h sphere.h show.h
  36. $(CC) $(CFLAGS) scores.c
  37. saveutils.o: saveutils.c saveutils.h ularn_win.h scores.h
  38. $(CC) $(CFLAGS) saveutils.c
  39. savegame.o: savegame.c savegame.h header.h saveutils.h ularn_game.h ularn_win.h monster.h player.h spell.h dungeon.h sphere.h store.h scores.h itm.h
  40. $(CC) $(CFLAGS) savegame.c
  41. potion.o: potion.c potion.h header.h player.h monster.h dungeon.h itm.h ularn_win.h
  42. $(CC) $(CFLAGS) potion.c
  43. player.o: player.c player.h ularn_game.h ularn_win.h ularn_ask.h header.h saveutils.h scores.h monster.h dungeon.h dungeon_obj.h scroll.h potion.h spell.h show.h itm.h
  44. $(CC) $(CFLAGS) player.c
  45. object.o: object.c object.h ularn_game.h ularn_win.h header.h player.h monster.h itm.h potion.h scroll.h spell.h dungeon.h dungeon_obj.h store.h fortune.h scores.h
  46. $(CC) $(CFLAGS) object.c
  47. monster.o: monster.c monster.h header.h ularn_win.h ularn_game.h saveutils.h itm.h player.h dungeon.h sphere.h show.h
  48. $(CC) $(CFLAGS) monster.c
  49. itm.o: itm.c itm.h
  50. $(CC) $(CFLAGS) itm.c
  51. help.o: help.c help.h header.h ularn_game.h ularn_win.h player.h
  52. $(CC) $(CFLAGS) help.c
  53. getopt.o: getopt.c getopt.h
  54. $(CC) $(CFLAGS) getopt.c
  55. fortune.o: fortune.c fortune.h header.h
  56. $(CC) $(CFLAGS) fortune.c
  57. dungeon_obj.o: dungeon_obj.c dungeon_obj.h ularn_win.h header.h player.h monster.h potion.h scores.h itm.h
  58. $(CC) $(CFLAGS) dungeon_obj.c
  59. dungeon.o: dungeon.c dungeon.h ularn_game.h ularn_win.h header.h monster.h itm.h player.h potion.h scroll.h saveutils.h scores.h
  60. $(CC) $(CFLAGS) dungeon.c
  61. diag.o: diag.c diag.h header.h ularn_game.h itm.h dungeon.h monster.h player.h potion.h scroll.h spell.h ularn_win.h
  62. $(CC) $(CFLAGS) diag.c
  63. action.o: action.c action.h ularn_game.h ularn_win.h header.h savegame.h itm.h player.h monster.h dungeon.h dungeon_obj.h potion.h scroll.h show.h fortune.h
  64. $(CC) $(CFLAGS) action.c
  65. ifftools.o: ifftools.c ifftools.h bio.h
  66. $(CC) $(CFLAGS) ifftools.c
  67. bio.o: bio.c bio.h
  68. $(CC) $(CFLAGS) bio.c
  69. smart_menu.o: smart_menu.c smart_menu.h
  70. $(CC) $(CFLAGS) smart_menu.c