source: last-defense/makefile

Last change on this file was ca2a854, checked in by dportnoy15 <dmitry.portnoy@…>, 6 years ago

Create a makefile that creates a jar

  • Property mode set to 100644
File size: 1003 bytes
Line 
1GAMEGUI_DEPS = gamegui/Align.class gamegui/Animation.class gamegui/Button.class gamegui/Label.class gamegui/Member.class gamegui/MultiTextbox.class gamegui/Textbox.class gamegui/Window.class
2UTILS_DEPS = utils/DynamicImage.class utils/Utils.class
3
4MAIN_DEPS = main/Action.class main/Entity.class main/LastDefenseMain.class main/Level.class main/Location.class main/Projectile.class main/Shield.class main/Ship.class main/Turret.class main/Unit.class
5
6GAMEGUI_INNER_DEPS = gamegui/Button\$$1.class gamegui/Label\$$1.class
7MAIN_INNER_DEPS = main/Action\$$Fire.class main/Action\$$Move.class main/LastDefenseMain\$$1.class main/LastDefenseMain\$$AuxState.class main/LastDefenseMain\$$GameState.class
8
9INNER_DEPS = $(GAMEGUI_INNER_DEPS) $(MAIN_INNER_DEPS)
10
11IMAGE_FILE_DEPS = images/*.png images/*/*.png images/ships/*/*.png
12
13CLASS_DEPS = $(MAIN_DEPS) $(GAMEGUI_DEPS) $(UTILS_DEPS)
14FILE_DEPS = $(IMAGE_FILE_DEPS)
15
16LastDefense: $(CLASS_DEPS) $(FILE_DEPS)
17 jar cfe $@.jar main.LastDefenseMain $^ $(INNER_DEPS)
Note: See TracBrowser for help on using the repository browser.