Created
March 17, 2017 21:17
-
-
Save angusjf/186e8671d224ddcd68f7df3b4e1ddd64 to your computer and use it in GitHub Desktop.
A Makefile for lwjgl
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
all: comp run | |
comp: | |
javac -cp "lib/*" -d bin src/HelloWorld.java | |
run: | |
# -XstartOnFirstThread is needed for macOS (tells the JVM to use thread 0) | |
java -XstartOnFirstThread -cp "bin:lib/*" HelloWorld |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment