Skip to content

Instantly share code, notes, and snippets.

@enjalot
Created October 8, 2009 15:26
Show Gist options
  • Save enjalot/205109 to your computer and use it in GitHub Desktop.
Save enjalot/205109 to your computer and use it in GitHub Desktop.
MAIN="Main1"
all:
javac -cp ../ -d ../classes $(MAIN).java
go:
java -cp ../classes $(MAIN)
clean:
find . -name '../classes/$(MAIN).class' -exec rm -f {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment