X-Git-Url: http://plrg.eecs.uci.edu/git/?p=iot2.git;a=blobdiff_plain;f=benchmarks%2Fdrivers%2FMakefile;h=64f5d6cd90cf13d37b7d96dcc6f6337aedf778b6;hp=1a1a0a0ded3a2eb484b744460c9729a7c9853e58;hb=f59c5789201487e4fc1101ee5f9c6c75d7918607;hpb=2b186a1e156bfd023b55a0053bd46df4376cce44 diff --git a/benchmarks/drivers/Makefile b/benchmarks/drivers/Makefile index 1a1a0a0..64f5d6c 100644 --- a/benchmarks/drivers/Makefile +++ b/benchmarks/drivers/Makefile @@ -10,7 +10,7 @@ JFLAGS = -d $(BIN_DIR) -cp $(BIN_DIR):$(PHONEJARS):$(BOOFJARS):$(JLAYERJARS) JARFLAGS = cf INTFACE_DIR = iotcode/interfaces -all: light +all: light camera labroom # Compile # @@ -20,4 +20,16 @@ light: cp LifxLightBulb/LifxLightBulb.config $(BIN_DIR)/iotcode/LifxLightBulb cd $(BIN_DIR)/iotcode/LifxLightBulb; $(JAR) $(JARFLAGS) LifxLightBulb.jar ../../iotcode/LifxLightBulb/*.class ../../iotcode/interfaces/LightBulb*.class +PHONY += camera +camera: + $(JAVAC) $(JFLAGS) AmcrestCamera/*.java + cp AmcrestCamera/AmcrestCamera.config $(BIN_DIR)/iotcode/AmcrestCamera + cd $(BIN_DIR)/iotcode/AmcrestCamera; $(JAR) $(JARFLAGS) AmcrestCamera.jar ../../iotcode/AmcrestCamera/*.class ../../iotcode/interfaces/Camera*.class + +PHONY += labroom +labroom: + $(JAVAC) $(JFLAGS) LabRoom/*.java + cp LabRoom/LabRoom.config $(BIN_DIR)/iotcode/LabRoom + cd $(BIN_DIR)/iotcode/LabRoom; $(JAR) $(JARFLAGS) LabRoom.jar ../../iotcode/LabRoom/*.class ../../iotcode/interfaces/Room*.class + .PHONY: $(PHONY)