do not run gdax automatically after compiling
[c11concurrency-benchmarks.git] / gdax-orderbook-hpp / demo / Makefile
index 158fb8d0aea92da17acf7f1725eff95da503bace..39d9da30e0d76726641b41a8afb9ec3b7afe6052 100644 (file)
@@ -13,23 +13,23 @@ LIBS += -lssl # needed for websocketpp's TLS support (req'd by GDAX)
 LIBS += -lcrypto # needed for websocketpp's TLS support (req'd by GDAX)
 LIBS += -lcds
 
-test: demo
-       LD_LIBRARY_PATH=$(CDSLIBDIR) ./demo
+#test: demo
+#      LD_LIBRARY_PATH=$(CDSLIBDIR) ./demo
 
-debug: demo
-       LD_LIBRARY_PATH=$(CDSLIBDIR) gdb ./demo
+#debug: demo
+#      LD_LIBRARY_PATH=$(CDSLIBDIR) gdb ./demo
 
 demo: demo.cpp ../gdax-orderbook.hpp \
       | dependencies/libcds-2.3.2/build-release/bin/libcds.so \
         dependencies/rapidjson-1.1.0 \
         dependencies/websocketpp-0.7.0
-       ./clang++ demo.cpp -std=c++11 -o demo $(INCDIRS) $(LIBS) -L $(CDSLIBDIR)
+       ../../clang++ demo.cpp -std=c++11 -o demo $(INCDIRS) $(LIBS) -L $(CDSLIBDIR)
 
 dependencies/libcds-2.3.2/build-release/bin/libcds.so: \
                | dependencies/libcds-2.3.2
        cd dependencies/libcds-2.3.2 ; if [ ! -d build-release ]; then mkdir build-release; fi
-       cd dependencies/libcds-2.3.2/build-release ; export PATH=`pwd`:$(PATH); CC=clang CXX=clang++ cmake -DCMAKE\_BUILD_TYPE=RELEASE ../
-       cd dependencies/libcds-2.3.2/build-release ; export PATH=`pwd`:$(PATH); make -j4
+       cd dependencies/libcds-2.3.2/build-release ; export PATH=$(PWD)/../..:$(PATH); CC=clang CXX=clang++ cmake -DCMAKE\_BUILD_TYPE=RELEASE ../
+       cd dependencies/libcds-2.3.2/build-release ; export PATH=$(PWD)/../..:$(PATH); make -j4
 
 clean:
        rm -rf demo dependencies/libcds-2.3.2/build-release