diff options
Diffstat (limited to '')
-rw-r--r-- | default.bld | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/default.bld b/default.bld index b3a9020..676c63e 100644 --- a/default.bld +++ b/default.bld | |||
@@ -3,12 +3,13 @@ execute("mkdir -p tmp"); | |||
3 | 3 | ||
4 | action "default" | 4 | action "default" |
5 | { | 5 | { |
6 | build: [targets("header-links"), "libgats.a"]; | 6 | build: [targets("header-links"), "libgats.a", "gatsc"]; |
7 | } | 7 | } |
8 | 8 | ||
9 | action "all" | 9 | action "all" |
10 | { | 10 | { |
11 | build: [targets("header-links"), "libgats.a", targets()]; | 11 | build: [targets("header-links"), "libgats.a", targets("headers"), |
12 | targets()]; | ||
12 | } | 13 | } |
13 | 14 | ||
14 | action "gatscon" | 15 | action "gatscon" |
@@ -47,6 +48,14 @@ target "libgats.a" | |||
47 | CXXFLAGS += "-I. -Ilibbu++ -fPIC"; | 48 | CXXFLAGS += "-I. -Ilibbu++ -fPIC"; |
48 | } | 49 | } |
49 | 50 | ||
51 | target "gatsc" | ||
52 | { | ||
53 | rule "exe"; | ||
54 | input files("src/gatsc/*.cpp"); | ||
55 | CXXFLAGS += "-I. -Ilibbu++"; | ||
56 | LDFLAGS += "-L. -lgats -lbu++"; | ||
57 | } | ||
58 | |||
50 | target files("src/tests/*.cpp").replace("src/","").replace(".cpp","") | 59 | target files("src/tests/*.cpp").replace("src/","").replace(".cpp","") |
51 | { | 60 | { |
52 | input "src/${OUTPUT}.cpp"; | 61 | input "src/${OUTPUT}.cpp"; |