a helpful makefile to run for the record
authorjjenista <jjenista>
Thu, 25 Mar 2010 22:54:43 +0000 (22:54 +0000)
committerjjenista <jjenista>
Thu, 25 Mar 2010 22:54:43 +0000 (22:54 +0000)
Robust/src/Benchmarks/disjoint/makefile

index 487230594ec93d7f8b4bee1d72c96fda04fc34a0..5cc588136ba42eab67dbb34dc3774eee48273551 100644 (file)
@@ -16,11 +16,30 @@ BUILDSCRIPT=~/research/Robust/src/buildscript
 #SNAPFLAGS= -disjoint-debug-snap-method innerKMeansSetting 1 20 true
 
 
-#BSFLAGS= -recover -justanalyze -disjoint -disjoint-k 1 -disjoint-write-dots final -disjoint-alias-file aliases.txt normal -enable-assertions
-BSFLAGS= -recover -justanalyze -disjoint -disjoint-k 1 -disjoint-write-dots final -disjoint-alias-file aliases.txt normal -disjoint-release-mode
+
+
+BAMBOOFLAGS= -recover
+JAVAFLAGS= -mainclass test
+
+DEBUGMODE= -enable-assertions
+RELEASEMODE= -disjoint-release-mode
+
+BSFLAGS= -justanalyze -disjoint -disjoint-k 1 -disjoint-write-dots final -disjoint-alias-file aliases.txt normal
 
 all:
-       $(BUILDSCRIPT) $(BSFLAGS) $(DEBUGFLAGS) $(SNAPFLAGS) *.java
+       echo 'pass another arg: <bamboo/bamboo-release/java/java-release>'
+
+bamboo:
+       $(BUILDSCRIPT) $(BAMBOOFLAGS) $(DEBUGMODE) $(BSFLAGS) $(DEBUGFLAGS) $(SNAPFLAGS) *.java
+
+bamboo-release:
+       $(BUILDSCRIPT) $(BAMBOOFLAGS) $(RELEASEMODE) $(BSFLAGS) $(DEBUGFLAGS) $(SNAPFLAGS) *.java
+
+java:
+       $(BUILDSCRIPT) $(JAVAFLAGS) $(DEBUGMODE) $(BSFLAGS) $(DEBUGFLAGS) $(SNAPFLAGS) *.java
+
+java-release:
+       $(BUILDSCRIPT) $(JAVAFLAGS) $(RELEASEMODE) $(BSFLAGS) $(DEBUGFLAGS) $(SNAPFLAGS) *.java
 
 clean:
        rm -f  *.bin