aboutsummaryrefslogtreecommitdiff
path: root/Buildfile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Buildfile31
1 files changed, 31 insertions, 0 deletions
diff --git a/Buildfile b/Buildfile
new file mode 100644
index 0000000..2732847
--- /dev/null
+++ b/Buildfile
@@ -0,0 +1,31 @@
1// Reference Buildfile by Mike Buland
2// Comments can be C++ style or bash style right now, no C style /* */
3
4// Recognized file types will be built using the default programs on each
5// system, each will get a target and be built with as much dependency tracking
6// as possible.
7
8// This is the default target, build with no params will always try to build
9// the all target, unless your Buildfile specifies something a little more
10// interesting. Specifying phony as a parameter means that this target builds
11// every call no matter what.
12target( all, phony )
13{
14 build( build );
15}
16
17target( build )
18{
19 type = executable;
20 linker = c++;
21 output = build;
22
23 if( isDebug() == true )
24 {
25 addParam( CXXFLAGS, "-ggdb")
26 addParam( CFLAGS, "-ggdb")
27 }
28
29 usesDir( src );
30}
31