X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=iotjava%2FMakefile;h=e1e8f08ddaffb3b964c78035dce2c966e1179efb;hb=1bac443ac1ed2689852ef846c6332865374e2b36;hp=c3d55c473cad22d4ea3c58a1eefa2880f3aedd56;hpb=00922a5779ecade450c3cabc756f850dbe528095;p=iot2.git diff --git a/iotjava/Makefile b/iotjava/Makefile index c3d55c4..e1e8f08 100644 --- a/iotjava/Makefile +++ b/iotjava/Makefile @@ -133,6 +133,12 @@ run-compiler-smart: cp ../localconfig/iotpolicy/SmartthingsSensor/*.req $(BIN_DIR)/iotpolicy/ cd $(BIN_DIR)/iotpolicy; $(JAVA) -cp .:..:../$(PARSERJARS):../$(BIN_DIR) iotpolicy.IoTCompiler smartthingssensor.pol smartthingssensor.req smartthingssensorcallback.pol smartthingssensorcallback.req -java Java +PHONY += run-compiler-actuate +run-compiler-actuate: + cp ../localconfig/iotpolicy/SmartthingsActuator/*.pol $(BIN_DIR)/iotpolicy/ + cp ../localconfig/iotpolicy/SmartthingsActuator/*.req $(BIN_DIR)/iotpolicy/ + cd $(BIN_DIR)/iotpolicy; $(JAVA) -cp .:..:../$(PARSERJARS):../$(BIN_DIR) iotpolicy.IoTCompiler smartthingsactuator.pol smartthingsactuator.req smartthingsactuatorcallback.pol smartthingsactuatorcallback.req -java Java + # TODO: Can remove this later - just to test-compile the resulted files from the compiler PHONY += compile compile: