aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp7
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
3int main() 3int 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();*/