first checkin

This commit is contained in:
Bob 2014-02-09 17:28:34 +01:00
commit fd3c59a02a
3 changed files with 53 additions and 0 deletions

23
src/main.cpp Normal file
View file

@ -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 <http://www.gnu.org/licenses/>.
*/
int main (int argc, char *argv[])
{
return 0;
}

BIN
waf vendored Executable file

Binary file not shown.

30
wscript Normal file
View file

@ -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')