1a1a0a0ded3a2eb484b744460c9729a7c9853e58
[iot2.git] / benchmarks / drivers / 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
7 JLAYERDIR := ../libs/jlayer_libs
8 JLAYERJARS := $(JLAYERDIR)/jl1.0.1.jar
9 JFLAGS = -d $(BIN_DIR) -cp $(BIN_DIR):$(PHONEJARS):$(BOOFJARS):$(JLAYERJARS)
10 JARFLAGS = cf
11 INTFACE_DIR = iotcode/interfaces
12
13 all: light
14
15 # Compile
16 #
17 PHONY += light
18 light:
19         $(JAVAC) $(JFLAGS) LifxLightBulb/*.java
20         cp LifxLightBulb/LifxLightBulb.config $(BIN_DIR)/iotcode/LifxLightBulb
21         cd $(BIN_DIR)/iotcode/LifxLightBulb; $(JAR) $(JARFLAGS) LifxLightBulb.jar ../../iotcode/LifxLightBulb/*.class ../../iotcode/interfaces/LightBulb*.class
22
23 .PHONY: $(PHONY)