Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated Makefile

  • Loading branch information...
commit 033b9c4e6e3cceed137de9760ada6ba02f0f827d 1 parent 6861313
Elias Karakoulakis authored
Showing with 10 additions and 4 deletions.
  1. +7 −1 INSTALL.txt
  2. +3 −3 Makefile
8 INSTALL.txt
View
@@ -1,8 +1,14 @@
(this will worl on Debian 6, you have to adjust according to your distro)
sudo apt-get install ruby1.9.1-dev gccxml libxml2-dev libxslt-dev
-sudo apt-get install libboost1.42-dev libboost_system1.42-dev libboost_thread1.42-dev lib libboost-filesystem1.42-dev libboost-program-options1.42-dev
+sudo apt-get install libboost1.42-dev libboost_system1.42-dev libboost_thread1.42-dev libboost-filesystem1.42-dev libboost-program-options1.42-dev
sudo gem1.9.1 install mongrel --pre
sudo gem1.9.1 install rspec
+
+# installs the ruby GCCXML client gem without compiling the 'gccxml' executable
+# since it was delivered by Debian package
+sudo gem1.9.1 install gccxml_gem --platform ruby
+# otherwise skip it
+
sudo gem1.9.1 install rbgccxml
6 Makefile
View
@@ -94,16 +94,16 @@ gen-cpp/ozw_types.o: gen-cpp/ozw_types.cpp gen-cpp/ozw_types.h
Main.o: Main.cpp gen-cpp/RemoteManager_server.cpp
$(CXX) $(CFLAGS) -c Main.cpp $(INCLUDES)
-openzwave: $(LIBZWAVE_STATIC) $(LIBZWAVE_DYNAMIC)
+openzwave:
cd $(OPENZWAVE)/cpp/build/linux/; make
booststomp:
cd $(BOOSTSTOMP); make
-ozwd.static: Main.o booststomp gen-cpp/RemoteManager.o gen-cpp/ozw_constants.o gen-cpp/ozw_types.o $(LIBZWAVE_STATIC)
+ozwd.static: Main.o booststomp gen-cpp/RemoteManager.o gen-cpp/ozw_constants.o gen-cpp/ozw_types.o openzwave
$(CXX) -static -static-libgcc -o $@ $(LDFLAGS) Main.o gen-cpp/RemoteManager.o gen-cpp/ozw_constants.o gen-cpp/ozw_types.o $(LIBZWAVE_STATIC) $(LIBBOOSTSTOMP_STATIC) $(LIBBOOST_STATIC) -lpthread -ludev -lthrift -lrt
-ozwd: Main.o booststomp gen-cpp/RemoteManager.o gen-cpp/ozw_constants.o gen-cpp/ozw_types.o $(LIBZWAVE_DYNAMIC)
+ozwd: Main.o booststomp gen-cpp/RemoteManager.o gen-cpp/ozw_constants.o gen-cpp/ozw_types.o openzwave
$(CXX) -o $@ $(LDFLAGS) Main.o gen-cpp/RemoteManager.o gen-cpp/ozw_constants.o gen-cpp/ozw_types.o $(LIBZWAVE_DYNAMIC) $(LIBS)
dist: main
Please sign in to comment.
Something went wrong with that request. Please try again.