add initial build system

This commit is contained in:
Josh Holtrop 2016-06-16 23:13:44 -04:00
commit 8f1ef6374c
5 changed files with 188 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
/.lock-waf*
/.waf*
/build/

2
Makefile Normal file
View File

@ -0,0 +1,2 @@
all:
./waf build

2
configure vendored Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./waf configure "$@"

169
waf vendored Executable file

File diff suppressed because one or more lines are too long

12
wscript Normal file
View File

@ -0,0 +1,12 @@
def options(opt):
opt.load("compiler_cxx")
def configure(conf):
conf.load("compiler_cxx")
conf.check(header_name = "getopt.h")
def build(bld):
bld(features = "cxx cxxprogram",
target = "jes",
source = bld.path.ant_glob("src/**/*.cc"),
cxxflags = ["-Wall", "-std=gnu++14"])