source: lost-haven/makefile@ 4d8825f

Last change on this file since 4d8825f was 4d8825f, checked in by Dmitry Portnoy <dmp1488@…>, 4 years ago

Add logic to make text files readable from inside a JAR

  • Property mode set to 100644
File size: 1.7 KB
Line 
1GAMEGUI_DEPS = gamegui/Align.class gamegui/Animation.class gamegui/Button.class gamegui/Label.class gamegui/Listable.class gamegui/Member.class gamegui/MultiTextbox.class gamegui/ScrollBar.class gamegui/ScrollList.class gamegui/Textbox.class gamegui/Window.class
2
3MAIN_DEPS = main/Action.class main/AreaOfEffect.class main/ArtifactPoint.class main/AttackType.class main/Attribute.class main/AuxState.class main/ChangeDamage.class main/Confuse.class main/Creature.class main/CreatureType.class main/Damage.class main/Direction.class main/Disable.class main/GameState.class main/Effect.class main/EffectType.class main/EquippedWeapon.class main/Gem.class main/Item.class main/ItemDrop.class main/ItemType.class main/Land.class main/LandType.class main/Location.class main/LostHavenRPG.class main/ManaDrain.class main/Map.class main/MapElement.class main/Model.class main/MoveSpeed.class main/Penetrate.class main/Player.class main/Point.class main/ProjectileSpeed.class main/RespawnPoint.class main/Skill.class main/SpawnPoint.class main/Structure.class main/StructureType.class main/TargetType.class main/TimedEffect.class main/Utils.class main/Weapon.class
4
5GAMEGUI_INNER_DEPS = gamegui/Button\$$1.class gamegui/Label\$$1.class
6MAIN_INNER_DEPS = main/Creature\$$1.class main/EquippedWeapon\$$1.class main/LostHavenRPG\$$1.class main/Model\$$1.class main/Player\$$1.class main/Player\$$ItemImg.class
7
8INNER_DEPS = $(GAMEGUI_INNER_DEPS) $(MAIN_INNER_DEPS)
9
10IMAGE_FILE_DEPS = images/*.png images/*/*.png images/*/*/*.png
11DATA_FILE_DEPS = creatures.txt items.txt spawnPoints.txt structInfo2.txt
12
13CLASS_DEPS = $(MAIN_DEPS) $(GAMEGUI_DEPS)
14FILE_DEPS = $(IMAGE_FILE_DEPS) $(DATA_FILE_DEPS)
15
16LostHaven: $(CLASS_DEPS) $(FILE_DEPS)
17 jar cfe $@.jar main.LostHavenRPG $(INNER_DEPS) $^
Note: See TracBrowser for help on using the repository browser.