aboutsummaryrefslogtreecommitdiff
path: root/default.bld
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--default.bld13
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
4action "default" 4action "default"
5{ 5{
6 build: [targets("header-links"), "libgats.a"]; 6 build: [targets("header-links"), "libgats.a", "gatsc"];
7} 7}
8 8
9action "all" 9action "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
14action "gatscon" 15action "gatscon"
@@ -47,6 +48,14 @@ target "libgats.a"
47 CXXFLAGS += "-I. -Ilibbu++ -fPIC"; 48 CXXFLAGS += "-I. -Ilibbu++ -fPIC";
48} 49}
49 50
51target "gatsc"
52{
53 rule "exe";
54 input files("src/gatsc/*.cpp");
55 CXXFLAGS += "-I. -Ilibbu++";
56 LDFLAGS += "-L. -lgats -lbu++";
57}
58
50target files("src/tests/*.cpp").replace("src/","").replace(".cpp","") 59target files("src/tests/*.cpp").replace("src/","").replace(".cpp","")
51{ 60{
52 input "src/${OUTPUT}.cpp"; 61 input "src/${OUTPUT}.cpp";