Rename translation units containing main() to main.cpp
Also unify style of argv declaration
Change-Id: I1dcb8689b1cd38e042a0b1f05be7f98bd2d487ed
diff --git a/tools/chunks/wscript b/tools/chunks/wscript
index a6b2ead..417bbf6 100644
--- a/tools/chunks/wscript
+++ b/tools/chunks/wscript
@@ -5,24 +5,24 @@
bld.objects(
target='ndncatchunks-objects',
- source=bld.path.ant_glob('catchunks/*.cpp', excl='catchunks/ndncatchunks.cpp'),
+ source=bld.path.ant_glob('catchunks/*.cpp', excl='catchunks/main.cpp'),
use='core-objects')
bld.program(
target='../../bin/ndncatchunks',
name='ndncatchunks',
- source='catchunks/ndncatchunks.cpp',
+ source='catchunks/main.cpp',
use='ndncatchunks-objects')
bld.objects(
target='ndnputchunks-objects',
- source=bld.path.ant_glob('putchunks/*.cpp', excl='putchunks/ndnputchunks.cpp'),
+ source=bld.path.ant_glob('putchunks/*.cpp', excl='putchunks/main.cpp'),
use='core-objects')
bld.program(
target='../../bin/ndnputchunks',
name='ndnputchunks',
- source='putchunks/ndnputchunks.cpp',
+ source='putchunks/main.cpp',
use='ndnputchunks-objects')
## (for unit tests)