- Timestamp:
- Feb 17, 2021, 1:38:35 AM (4 years ago)
- Branches:
- master
- Children:
- e5d2936
- Parents:
- a10d422
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
makefile
ra10d422 r57674f3 1 NOTE: Currently, this assumes that I have first compiled the .java files into .class files 2 1 3 # Use something like "LostPerception: MAP_FILE_DEPS = maps/*.txt" to specify var for a specific target 2 4 3 #ASTAR_DEPS = astar/AStarMap.class astar/AStarNode.class astar/AStarSearch.class astar/BinaryHeap.class astar/QuadTree.class4 #COLLISION_DEPS = collision/Bound.class5 ASTAR_DEPS = astar/AStarMap.class astar/AStarNode.class astar/AStarSearch.class astar/BinaryHeap.class astar/QuadTree.class 6 COLLISION_DEPS = collision/Bound.class 5 7 #GAMEGUI_DEPS = gamegui/Align.class gamegui/Animation.class gamegui/Button.class gamegui/Label.class gamegui/Listable.class gamegui/Member.class gamegui/ScrollBar.class gamegui/ScrollList.class gamegui/Textbox.class gamegui/Window.class 6 #UTILS_DEPS = utils/DynamicImage.class utils/Utils.class utils/WrappedString.class 8 GAMEGUI_DEPS = gamegui/Align.class gamegui/Animation.class gamegui/Button.class gamegui/Label.class gamegui/Member.class gamegui/ScrollBar.class gamegui/ScrollList.class gamegui/Window.class 9 UTILS_DEPS = utils/DynamicImage.class utils/Utils.class utils/WrappedString.class 7 10 8 #MAIN_DEPS = main/Action.class main/Armor.class main/Creature.class main/Dialog.class main/Direction.class main/Effect.class main/Enemy.class main/Item.class main/Location.class main/LostHavenRPG.class main/Map.class main/MapImage.class main/MapObject.class main/MapType.class main/Model.class main/NPC.class main/Player.class main/StatType.class main/Tile.class main/Weapon.class11 MAIN_DEPS = main/Action.class main/Armor.class main/Creature.class main/Dialog.class main/Direction.class main/Effect.class main/Enemy.class main/Item.class main/Location.class main/LostHavenRPG.class main/Map.class main/MapImage.class main/MapObject.class main/MapType.class main/Model.class main/NPC.class main/Player.class main/StatType.class main/Tile.class main/Weapon.class 9 12 10 13 #GAMEGUI_INNER_DEPS = gamegui/Button\$$1.class gamegui/Label\$$1.class 14 LostPerception: GAMEGUI_INNER_DEPS = gamegui/Button\$$1.class 11 15 #MAIN_INNER_DEPS = main/Armor\$$ArmorType.class main/Effect\$$MoveSpeed.class main/Effect\$$Hitpoints.class main/Effect\$$Manapoints.class main/Effect\$$Damage.class main/Effect\$$AttackSpeed.class main/LostHavenRPG\$$1.class main/LostHavenRPG\$$AuxState.class main/LostHavenRPG\$$GameState.class main/Model\$$1.class 12 #UTILS_INNER_DEPS = utils/Utils\$$1.class 16 LostPerception: MAIN_INNER_DEPS = main/Armor\$$ArmorType.class main/Effect\$$AttackSpeed.class main/Effect\$$Damage.class main/Effect\$$Hitpoints.class main/Effect\$$MoveSpeed.class main/LostHavenRPG\$$1.class main/LostHavenRPG\$$AuxState.class main/LostHavenRPG\$$GameState.class main/Model\$$1.class 17 LostPerception: UTILS_INNER_DEPS = utils/Utils\$$1.class 13 18 14 #INNER_DEPS = $(GAMEGUI_INNER_DEPS) $(MAIN_INNER_DEPS) $(UTILS_INNER_DEPS)19 LostPerception: INNER_DEPS = $(GAMEGUI_INNER_DEPS) $(MAIN_INNER_DEPS) $(UTILS_INNER_DEPS) 15 20 16 #DIALOG_FILE_DEPS = dialog/*.txt17 #IMAGE_FILE_DEPS = images/*/*.png images/creatures/*/*/*.png images/*/*.ttf18 #MAP_FILE_DEPS = maps/*.txt21 DIALOG_FILE_DEPS = dialog/*.txt 22 IMAGE_FILE_DEPS = images/*/*.png images/creatures/*/*/*.png images/*/*.ttf 23 MAP_FILE_DEPS = maps/*.txt 19 24 20 #CLASS_DEPS = $(MAIN_DEPS) $(ASTAR_DEPS) $(GAMEGUI_DEPS) $(COLLISION_DEPS) $(UTILS_DEPS)21 #FILE_DEPS = $(DIALOG_FILE_DEPS) $(IMAGE_FILE_DEPS) $(MAP_FILE_DEPS)25 CLASS_DEPS = $(MAIN_DEPS) $(ASTAR_DEPS) $(GAMEGUI_DEPS) $(COLLISION_DEPS) $(UTILS_DEPS) 26 FILE_DEPS = $(DIALOG_FILE_DEPS) $(IMAGE_FILE_DEPS) $(MAP_FILE_DEPS) 22 27 23 #LostPerception: $(CLASS_DEPS) $(FILE_DEPS)24 #jar cfe [email protected] main.LostHavenRPG $^ $(INNER_DEPS)28 LostPerception: $(CLASS_DEPS) $(FILE_DEPS) 29 jar cfe [email protected] main.LostHavenRPG $^ $(INNER_DEPS) 25 30 26 31 ASTAR_DEPS = astar/AStarMap.class astar/AStarNode.class astar/QuadTree.class … … 31 36 MAIN_DEPS = main/Action.class main/Creature.class main/Direction.class main/Enemy.class main/Item.class main/Location.class main/Map.class main/MapEditor.class main/MapImage.class main/MapObject.class main/MapType.class main/Model.class main/Player.class main/StatType.class main/Tile.class 32 37 33 GAMEGUI_INNER_DEPS = gamegui/Button\$$1.class gamegui/Label\$$1.class34 M AIN_INNER_DEPS = main/MapEditor\$$1.class main/MapEditor\$$AuxState.class main/MapEditor\$$GroundType.class main/MapEditor\$$State.class main/Model\$$1.class35 UTILS_INNER_DEPS = utils/Utils\$$1.class38 MapEditor: GAMEGUI_INNER_DEPS = gamegui/Button\$$1.class gamegui/Label\$$1.class 39 MapEditor: MAIN_INNER_DEPS = main/MapEditor\$$1.class main/MapEditor\$$AuxState.class main/MapEditor\$$GroundType.class main/MapEditor\$$State.class main/Model\$$1.class 40 MapEditor: UTILS_INNER_DEPS = utils/Utils\$$1.class 36 41 37 INNER_DEPS = $(GAMEGUI_INNER_DEPS) $(MAIN_INNER_DEPS) $(UTILS_INNER_DEPS)42 MapEditor: INNER_DEPS = $(GAMEGUI_INNER_DEPS) $(MAIN_INNER_DEPS) $(UTILS_INNER_DEPS) 38 43 39 44 IMAGE_FILE_DEPS = images/*/*.png images/creatures/*/*/*.png
Note:
See TracChangeset
for help on using the changeset viewer.