Last active
June 22, 2016 12:37
-
-
Save maugern/69fffa4a5b7402b78461911455c8a744 to your computer and use it in GitHub Desktop.
My java 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
JFLAGS = -g | |
JC = javac | |
.SUFFIXES: .java .class | |
.java.class: | |
$(JC) $(JFLAGS) $*.java | |
CLASSES = *.java | |
default: classes | |
classes: $(CLASSES:.java=.class) | |
# RM is a predefined macro in make (RM = rm -f) | |
clean: | |
$(RM) *.class bin/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment