diff options
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a63a6c2 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +JAVAC=javac + +SRC_JAVA=$(wildcard *.java) + +all: $(patsubst %.java,%.class,$(SRC_JAVA)) + +%.class: %.java + javac $< + +clean: + -rm *.class *~ |