Created
September 19, 2012 13:22
-
-
Save 7shi/3749659 to your computer and use it in GitHub Desktop.
JARにリソースを持たせる例
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TARGET = ButtonTest.jar | |
$(TARGET): ButtonTest.class onebit_11.png | |
jar 0cvfe $@ ButtonTest $^ | |
ButtonTest.class: ButtonTest.java | |
javac $< | |
clean: | |
rm -f $(TARGET) *.class | |
# onebit_11.png is in the public domain. | |
# http://www.icojam.com/blog/?p=177 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment