Commit Diff
Diff:
10c8a6d2c4dd95be186b453e95746d68bb2a999b
c7b163126c640f439a8cca24ec4ea916c47db419
Commit:
c7b163126c640f439a8cca24ec4ea916c47db419
Tree:
668ccbcebd40063c8a48682a79a5c85bd4f4960c
Author:
Omar Polo <op@omarpolo.com>
Date:
Wed Oct 13 08:25:14 2021 UTC
Message:
build java with make
commit - 10c8a6d2c4dd95be186b453e95746d68bb2a999b
commit + c7b163126c640f439a8cca24ec4ea916c47db419
blob - a9a0bb466ae015a42996d335b257bd5c10422db1
blob + 4707374513c2755776e8ee2f9a520d283ce92555
--- README.md
+++ README.md
@@ -4,6 +4,6 @@
Issue
- javac java/com/omarpolo/gemini/Gemini.java
+ make
then do the usual clojure stuff.
blob - /dev/null
blob + b3890fc326491cafe5f119eb9bce756c494acd20 (mode 644)
--- /dev/null
+++ Makefile
@@ -0,0 +1,14 @@
+JAVAC = javac
+
+CLASSES = java/com/omarpolo/gemini/Request.class
+
+.PHONY: all clean
+
+all: ${CLASSES}
+
+clean:
+ find java -type f -iname '*.class' -exec rm {} +
+
+.SUFFIXES: .java .class
+.java.class:
+ ${JAVAC} $<
Omar Polo