summaryrefslogtreecommitdiff
path: root/src/genetic/Makefile
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2016-06-01 18:58:58 -0700
committerScott Gasch <[email protected]>2016-06-01 18:58:58 -0700
commit3fd43cd5fcb22bb65bf2a92a25d95d801b11c9e0 (patch)
tree9b6443235d16ba17f094a1a1c7ae53d2bcb9267b /src/genetic/Makefile
Initial checkin for typhoon chess engine.
Diffstat (limited to 'src/genetic/Makefile')
-rwxr-xr-xsrc/genetic/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/genetic/Makefile b/src/genetic/Makefile
new file mode 100755
index 0000000..f927946
--- /dev/null
+++ b/src/genetic/Makefile
@@ -0,0 +1,26 @@
+# Makefile
+
+# Gdata required activation.jar and mail.jar; make this where you put them
+SHAREPATH= /usr/local/share/java/classes
+CLASSPATH= ./
+
+JFLAGS= -classpath $(CLASSPATH) -sourcepath ./ -d .
+JAVAC= javac $(JFLAGS) $(JCFLAGS) -Xlint:unchecked
+JAVA= java $(JFLAGS) $(JRFLAGS)
+
+JAVASRC= GeneticDriver.java GeneticProcess.java \
+ ParallelChessGeneticProcess.java
+CLASSES= $(JAVASRC:.java=.class)
+
+all : compile
+
+compile : $(JAVASRC)
+ $(JAVAC) $(JFLAGS) $(JAVASRC)
+
+doc :
+ mkdir -p doc
+ javadoc -d doc *.java
+
+clean :
+ rm -f $(CLASSES:.class='$$'*.class) $(CLASSES)
+ rm -fr doc