summaryrefslogtreecommitdiff
path: root/ZKTest/Release
diff options
context:
space:
mode:
authorMike Smith <mike.smith@codethink.co.uk>2014-12-01 12:56:09 +0000
committerMike Smith <mike.smith@codethink.co.uk>2014-12-01 12:56:09 +0000
commite188e8adc868a7cbd5b28a57b0c45bf1bbdff9a4 (patch)
tree775296077c99b4f22117c801c1c60781d105ef02 /ZKTest/Release
parent6f6966d5e46b0634221c279bdf6b6d27da7e7627 (diff)
downloadzookeeper-test-e188e8adc868a7cbd5b28a57b0c45bf1bbdff9a4.tar.gz
updated makefile
Diffstat (limited to 'ZKTest/Release')
-rw-r--r--ZKTest/Release/makefile2
-rw-r--r--ZKTest/Release/objects.mk2
-rw-r--r--ZKTest/Release/src/subdir.mk2
3 files changed, 3 insertions, 3 deletions
diff --git a/ZKTest/Release/makefile b/ZKTest/Release/makefile
index 7daa8b5..6e2c718 100644
--- a/ZKTest/Release/makefile
+++ b/ZKTest/Release/makefile
@@ -44,7 +44,7 @@ all: ZKTest
ZKTest: $(OBJS) $(USER_OBJS)
@echo 'Building target: $@'
@echo 'Invoking: GCC C++ Linker'
- g++ -o "ZKTest" $(OBJS) $(USER_OBJS) $(LIBS)
+ g++ -L/usr/lib/x86_64-linux-gnu/ -o "ZKTest" $(OBJS) $(USER_OBJS) $(LIBS)
@echo 'Finished building target: $@'
@echo ' '
diff --git a/ZKTest/Release/objects.mk b/ZKTest/Release/objects.mk
index 5493f02..81bf874 100644
--- a/ZKTest/Release/objects.mk
+++ b/ZKTest/Release/objects.mk
@@ -4,5 +4,5 @@
USER_OBJS :=
-LIBS := -l/usr/lib/x86_64-linux-gnu/libzookeeper_mt.a
+LIBS := -lzookeeper_mt
diff --git a/ZKTest/Release/src/subdir.mk b/ZKTest/Release/src/subdir.mk
index 399029d..875bb83 100644
--- a/ZKTest/Release/src/subdir.mk
+++ b/ZKTest/Release/src/subdir.mk
@@ -17,7 +17,7 @@ CPP_DEPS += \
src/%.o: ../src/%.cpp
@echo 'Building file: $<'
@echo 'Invoking: GCC C++ Compiler'
- g++ -I/usr/include/zookeeper -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
+ g++ -D__GXX_EXPERIMENTAL_CXX0X__ -I/usr/include/zookeeper -O3 -Wall -c -fmessage-length=0 -std=c++0x -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '