Skip to content

Instantly share code, notes, and snippets.

@ruanchao
Created May 7, 2012 16:16
Show Gist options
  • Save ruanchao/2628718 to your computer and use it in GitHub Desktop.
Save ruanchao/2628718 to your computer and use it in GitHub Desktop.
Java:makefile
GS = -g
JC = javac
.SUFFIXES: .java .class
.java.class:
$(JC) $(JFLAGS) $*.java
CLASSES = \
Server.java \
Client.java \
default: classes
classes: $(CLASSES:.java=.class)
clean:
$(RM) *.class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment