Adding files to initialize, update, and read key-value (to be used together with...
[iotcloud.git] / version2 / src / C / Makefile
index 199196e55bec3cb2f4b9b6eb67e56415f087eaf1..5d4be5ae1ba631424fb85a4e0de39cbf5573fe36 100644 (file)
@@ -29,6 +29,10 @@ directories: ${OBJ_DIR}
 
 test: bin/lib_iotcloud.so
        g++ -g -O3 Test.C -L./bin/ -l_iotcloud -lpthread -lbsd -o bin/Test
+       g++ -g -O3 Init.C -L./bin/ -l_iotcloud -lpthread -lbsd -o bin/init
+       g++ -g -O3 Update.C -L./bin/ -l_iotcloud -lpthread -lbsd -o bin/update
+       g++ -g -O3 Read.C -L./bin/ -l_iotcloud -lpthread -lbsd -o bin/read
+       sudo cp ./bin/*.so /usr/lib/
 
 ${OBJ_DIR}:
        ${MKDIR_P} ${OBJ_DIR}