projects
/
iot2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5bfd3bb
)
Adding bin directory creation in Makefile
author
rtrimana
<rtrimana@uci.edu>
Fri, 16 Feb 2018 16:19:40 +0000
(08:19 -0800)
committer
rtrimana
<rtrimana@uci.edu>
Fri, 16 Feb 2018 16:19:40 +0000
(08:19 -0800)
iotjava/Makefile
patch
|
blob
|
history
diff --git
a/iotjava/Makefile
b/iotjava/Makefile
index e1e8f08ddaffb3b964c78035dce2c966e1179efb..81b323c0df9b5065dfacb67e78751482c1e1024e 100644
(file)
--- a/
iotjava/Makefile
+++ b/
iotjava/Makefile
@@
-2,10
+2,14
@@
BASE := ..
include $(BASE)/common.mk
include $(BASE)/common.mk
-all: tree parser compiler rmi runtime installer
+all:
mkdir
tree parser compiler rmi runtime installer
infra: runtime installer
infra: runtime installer
+PHONY += mkdir
+mkdir:
+ [ -d ../bin ] || mkdir ../bin
+
# Parser compilation and run
PHONY += tree
tree:
# Parser compilation and run
PHONY += tree
tree:
@@
-233,7
+237,7
@@
runtime:
$(JAVAC) -classpath .:$(RUNTIMEJARS):$(PHONEJARS):$(ZIPJARS) iotruntime/*.java iotruntime/master/*.java iotruntime/slave/*.java iotruntime/messages/*.java iotruntime/stub/*.java iotruntime/zigbee/*.java -d $(BIN_DIR)
cp ../localconfig/iotruntime/IoTMaster.config $(BIN_DIR)/iotruntime/
cp ../localconfig/iotruntime/IoTSlave.config $(BIN_DIR)/iotruntime/
$(JAVAC) -classpath .:$(RUNTIMEJARS):$(PHONEJARS):$(ZIPJARS) iotruntime/*.java iotruntime/master/*.java iotruntime/slave/*.java iotruntime/messages/*.java iotruntime/stub/*.java iotruntime/zigbee/*.java -d $(BIN_DIR)
cp ../localconfig/iotruntime/IoTMaster.config $(BIN_DIR)/iotruntime/
cp ../localconfig/iotruntime/IoTSlave.config $(BIN_DIR)/iotruntime/
- cp ../others/sslkey/*.jks $(BIN_DIR)/iotruntime/
+
#
cp ../others/sslkey/*.jks $(BIN_DIR)/iotruntime/
cp -r ../localconfig/mysql $(BIN_DIR)/iotruntime/
cp -r ../localconfig/tomoyo $(BIN_DIR)/iotruntime/
cp -r ../localconfig/mysql $(BIN_DIR)/iotruntime/
cp -r ../localconfig/tomoyo $(BIN_DIR)/iotruntime/