From 40ee7ad5aeadeb9823e1cd6e1218a1999c608a65 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 9 Jul 2012 08:39:37 -0600 Subject: New libgenetic. Genetic algorithms, only good. --- default.bld | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 default.bld (limited to 'default.bld') diff --git a/default.bld b/default.bld new file mode 100644 index 0000000..c5312cd --- /dev/null +++ b/default.bld @@ -0,0 +1,20 @@ +target "libgenetic.a" +{ + rule "lib"; + input files("src/*.cpp"); + + CXXFLAGS += "-I. -ggdb"; +} + +for src in files("src/tests/*.cpp") do +{ + target src.replace("src/","").replace(".cpp","") + { + rule "exe"; + input src; + requires "libgenetic.a"; + + CXXFLAGS += "-I. -ggdb"; + LDFLAGS += "-L. -lgenetic -lbu++ -ggdb"; + } +} -- cgit v1.2.3