diff options
Diffstat (limited to '')
-rw-r--r-- | src/main.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index ebf0cfd..ebfb745 100644 --- a/src/main.cpp +++ b/src/main.cpp | |||
@@ -1,12 +1,15 @@ | |||
1 | #include "builder.h" | 1 | #include "builder.h" |
2 | 2 | ||
3 | int main() | 3 | int main( int argc, char *argv[] ) |
4 | { | 4 | { |
5 | Builder bld; | 5 | Builder bld; |
6 | 6 | ||
7 | bld.load("build.conf"); | 7 | bld.load("build.conf"); |
8 | 8 | ||
9 | bld.build(); | 9 | if( argc >= 2 ) |
10 | bld.build( argv[1] ); | ||
11 | else | ||
12 | bld.build(); | ||
10 | /* | 13 | /* |
11 | printf("\n\n----------\nDebug dump\n----------\n"); | 14 | printf("\n\n----------\nDebug dump\n----------\n"); |
12 | bld.debug();*/ | 15 | bld.debug();*/ |