Creating new directory for all Java benchmarks
[iot2.git] / benchmarks / Java / SmartLightsController / Makefile~
1 BASE = ../..
2
3 include $(BASE)/common.mk
4
5 BOOFDIR := ../libs/boofcv_libs
6 BOOFJARS := $(BOOFDIR)/BoofCV-feature-0.21.jar:$(BOOFDIR)/BoofCV-io-0.21.jar:$(BOOFDIR)/BoofCV-visualize-0.21.jar:$(BOOFDIR)/BoofCV-ip-0.21.jar:$(CHECKERJARS)
7
8 JFLAGS = -d $(BIN_DIR) -cp $(BOOFJARS):$(BIN_DIR):.
9 JARFLAGS = cf 
10
11 all: smartlights
12
13 PHONY += smartlights
14 smartlights:
15         $(JAVAC) $(JFLAGS) *.java
16         cp SmartLightsController.config $(BIN_DIR)/SmartLightsController
17         cd $(BIN_DIR)/SmartLightsController; $(JAR) $(JARFLAGS) SmartLightsController.jar ../SmartLightsController/SmartLightsController*.class ../SmartLightsController/ColorTemperature*.class ../SmartLightsController/MotionDetection*.class ../iotcode/interfaces/Camera*.class ../iotcode/interfaces/Room*.class ../iotcode/interfaces/LightBulb*.class ../iotcode/interfaces/Resolution*.class
18
19 .PHONY: $(PHONY)