build: update waf to version 2.0.6
Change-Id: I38e892c5a7768f0951523c8b6611f4417eff0152
diff --git a/tools/peek/wscript b/tools/peek/wscript
index f701269..b719c8b 100644
--- a/tools/peek/wscript
+++ b/tools/peek/wscript
@@ -3,18 +3,17 @@
def build(bld):
- bld(features='cxx',
- name='peek-ndnpeek-objects',
+ bld.objects(
+ target='ndnpeek-objects',
source=bld.path.ant_glob('ndnpeek/*.cpp', excl='ndnpeek/main.cpp'),
use='core-objects')
- bld(features='cxx cxxprogram',
+ bld.program(
target='../../bin/ndnpeek',
source='ndnpeek/main.cpp',
- use='peek-ndnpeek-objects')
+ use='ndnpeek-objects')
bld.program(
- features='cxx',
target='../../bin/ndnpoke',
source='ndn-poke.cpp',
use='core-objects')
@@ -22,4 +21,4 @@
## (for unit tests)
bld(name='peek-objects',
- use='peek-ndnpeek-objects')
+ use='ndnpeek-objects')