Created
March 11, 2018 16:13
-
-
Save beefy/c26492ff033ea91a8c24f5664501ab29 to your computer and use it in GitHub Desktop.
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
# by convention the first makefile target | |
# compile, run the problems, then clean up | |
all: compile run | |
# compile all of the files | |
# and execute them | |
run: | |
java -cp ./build/classes main/Checkers | |
# compile all of the files | |
# and give them execute permissions | |
compile: | |
javac -d ./build/classes ./src/main/* | |
clean: | |
rm ./build/classes/main/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment