env = Environment() # config libs = ['gtkmm-3.0'] # compute build options flags = ' -O0 -g -Wall -fmessage-length=0 ' # files lists target = 'perspective' sources = [ 'generator.cpp', 'main.cpp', 'mainwindow.cpp', 'matrix.cpp', 'perspectivesandboxview.cpp', 'surface.cpp', 'view.cpp' ] # build env.ParseConfig('pkg-config --cflags --libs ' + ' '.join(libs)) env.Program( target = target, source = sources, parse_flags = flags )