commit fd3c59a02ae6a8699f6a12594dbaec7d198de60d Author: Bob Date: Sun Feb 9 17:28:34 2014 +0100 first checkin diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..a4bc2ba --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,23 @@ +/* + * ampswitch + * Copyright (C) Bob 2014 + * + * ampswitch is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * ampswitch is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ + +int main (int argc, char *argv[]) +{ + return 0; +} + diff --git a/waf b/waf new file mode 100755 index 0000000..4e68fed Binary files /dev/null and b/waf differ diff --git a/wscript b/wscript new file mode 100644 index 0000000..65505e9 --- /dev/null +++ b/wscript @@ -0,0 +1,30 @@ +#! /usr/bin/env python +# encoding: utf-8 + +# the following two variables are used by the target "waf dist" +VERSION='0.0.1' +APPNAME='ampswitch' + +# these variables are mandatory ('/' are converted automatically) +top = '.' +out = 'build' + +def options(opt): + opt.load('compiler_cxx') + +def configure(conf): + conf.load('compiler_cxx') + + conf.check(header_name='jack/jack.h') + + conf.check(lib='jack', uselib_store='jack', mandatory=False) + + conf.write_config_header('config.h') + +def build(bld): + bld.program(source='src/main.cpp' + use=['jack'], + includes='./src', + cxxflags='-Wall -g', + target='ampswitch') +