]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Fix Makefile in example/librados file. 6320/head
authoryouji <youji@ebay.com>
Tue, 20 Oct 2015 06:53:27 +0000 (23:53 -0700)
committeryouji <youji@ebay.com>
Tue, 20 Oct 2015 06:53:27 +0000 (23:53 -0700)
Signed-off-by: You Ji <jiyou09@gmail.com>
examples/librados/Makefile

index 190cca251a894454541956a64d91116cb06ad152..f1fbed0f9aad0638acddd2d2d5dede68eb413899 100644 (file)
@@ -1,7 +1,9 @@
+CXXFLAGS=-std=c++0x -I../../src/include
+CFLAGS=-I../../src/include
 all: librados_hello_world librados_hello_world_c
 
 librados_hello_world: hello_world.cc
-       g++ -g -c hello_world.cc -o hello_world.o $(CFLAGS)
+       g++ -g -c hello_world.cc -o hello_world.o $(CXXFLAGS)
        g++ -g hello_world.o -lrados -o librados_hello_world $(LDFLAGS)
 
 librados_hello_world_c: hello_world_c.c