Makefile.MinGW 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. CC=gcc
  2. LD=gcc -o
  3. RC=windres
  4. CFLAGS=-Wall -fpack-struct
  5. LDFLAGS=
  6. OBJECT=ularn.o ularn_win.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
  7. vlarn.exe: $(OBJECT) ularnpc.o
  8. $(LD) vlarn.exe $(OBJECT) ularnpc.o -mwindows
  9. clean:
  10. del *.obj
  11. archive: clean
  12. del lib\vscore
  13. del lib\vlarn.pid
  14. del vlarn.ini
  15. del vlarn.opt
  16. 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
  17. $(CC) $(CFLAGS) -c ularn.c
  18. ularn_win.o: ularn_win.c ularn_win.h header.h ularn_game.h config.h dungeon.h player.h ularnpc.rh monster.h itm.h
  19. $(CC) $(CFLAGS) -c ularn_win.c
  20. ularn_game.o: ularn_game.c ularn_game.h config.h monster.h player.h
  21. $(CC) $(CFLAGS) -c ularn_game.c
  22. ularn_ask.o: ularn_ask.c ularn_ask.h ularn_game.h ularn_win.h header.h player.h dungeon.h
  23. $(CC) $(CFLAGS) -c ularn_ask.c
  24. 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
  25. $(CC) $(CFLAGS) -c store.c
  26. sphere.o: sphere.c sphere.h ularn_game.h ularn_win.h saveutils.h header.h monster.h player.h itm.h
  27. $(CC) $(CFLAGS) -c sphere.c
  28. 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
  29. $(CC) $(CFLAGS) -c spell.c
  30. 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
  31. $(CC) $(CFLAGS) -c show.c
  32. 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
  33. $(CC) $(CFLAGS) -c scroll.c
  34. 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
  35. $(CC) $(CFLAGS) -c scores.c
  36. saveutils.o: saveutils.c saveutils.h ularn_win.h scores.h
  37. $(CC) $(CFLAGS) -c saveutils.c
  38. 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
  39. $(CC) $(CFLAGS) -c savegame.c
  40. potion.o: potion.c potion.h header.h player.h monster.h dungeon.h itm.h ularn_win.h
  41. $(CC) $(CFLAGS) -c potion.c
  42. 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
  43. $(CC) $(CFLAGS) -c player.c
  44. 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
  45. $(CC) $(CFLAGS) -c object.c
  46. 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
  47. $(CC) $(CFLAGS) -c monster.c
  48. itm.o: itm.c itm.h
  49. $(CC) $(CFLAGS) -c itm.c
  50. help.o: help.c help.h header.h ularn_game.h ularn_win.h player.h
  51. $(CC) $(CFLAGS) -c help.c
  52. getopt.o: getopt.c getopt.h
  53. $(CC) $(CFLAGS) -c getopt.c
  54. fortune.o: fortune.c fortune.h header.h
  55. $(CC) $(CFLAGS) -c fortune.c
  56. dungeon_obj.o: dungeon_obj.c dungeon_obj.h ularn_win.h header.h player.h monster.h potion.h scores.h itm.h
  57. $(CC) $(CFLAGS) -c dungeon_obj.c
  58. 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
  59. $(CC) $(CFLAGS) -c dungeon.c
  60. 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
  61. $(CC) $(CFLAGS) -c diag.c
  62. 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
  63. $(CC) $(CFLAGS) -c action.c
  64. ularnpc.o: ularnpc.rc ularnpc.rh
  65. $(RC) -o ularnpc.o ularnpc.rc