diff options
Diffstat (limited to '')
-rw-r--r-- | build.conf | 2 | ||||
-rw-r--r-- | src/main.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -8,7 +8,7 @@ set "CXXFLAGS" += "-ggdb" | |||
8 | rule "exe", | 8 | rule "exe", |
9 | target file, | 9 | target file, |
10 | requires "libbu++/libbu++.a", | 10 | requires "libbu++/libbu++.a", |
11 | set "LDFLAGS" += "-Llibbu++ -lbu++ -ldl", | 11 | set "LDFLAGS" += "-Llibbu++ -Wl,-Bstatic -lbu++ -Wl,-Bdynamic -ldl", |
12 | set "CXXFLAGS" += "-Ilibbu++", | 12 | set "CXXFLAGS" += "-Ilibbu++", |
13 | set "FLEXFLAGS" = "--bison-bridge --bison-locations", | 13 | set "FLEXFLAGS" = "--bison-bridge --bison-locations", |
14 | input filesIn("src") filter regexp(".*\\.(cpp|y|l)$") | 14 | input filesIn("src") filter regexp(".*\\.(cpp|y|l)$") |
diff --git a/src/main.cpp b/src/main.cpp index 7ea2f18..4153982 100644 --- a/src/main.cpp +++ b/src/main.cpp | |||
@@ -57,7 +57,7 @@ public: | |||
57 | 57 | ||
58 | virtual int cmdParam( int argc, char *argv[] ) | 58 | virtual int cmdParam( int argc, char *argv[] ) |
59 | { | 59 | { |
60 | if( !sAction.isSet() ) | 60 | if( sAction.isSet() ) |
61 | { | 61 | { |
62 | printf("You can only specify one action per command line.\n\n"); | 62 | printf("You can only specify one action per command line.\n\n"); |
63 | exit( 1 ); | 63 | exit( 1 ); |