Created
January 28, 2020 22:57
-
-
Save LeoSaucedo/57aaf26522843f1685d303af87841c4b to your computer and use it in GitHub Desktop.
Java Quick Makefile
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
build: | |
# Compile java files. | |
javac *.java | |
# Create jar file. | |
jar cfm out.jar MANIFEST.MF *.class *.java | |
# Build javadoc. | |
mkdir www && javadoc *.java -d www/ | |
clean: | |
# Remove class files, java package, and javadoc. | |
rm -rf *.class *.jar www |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment