"""
 +----------------------------------+
 | Supreme Machines/Jetpack         |
 | Flatcat UDP controller           |
 | Build Script                     |
 | Matthias Kubisch                 |
 | kubisch@informatik.hu-berlin.de  |
 | Oct 2020                         |
 +----------------------------------+

"""

src_files = [ 'flatcat_udp.cpp' ]

# common flags
cppflags = ['-O2', '-Wall', '-Wextra']

# c++ only flags
cxxflags = ['-std=c++11', '-Wno-psabi']

#Library('foo', ['f1.c', 'f2.c', 'f3.c'])

cpppaths = [ '.'
           , '../../framework/src/'
           , '../../simloidTCP/src/'
           , '../../libsensorimotor/src/'
           , '../src/'
           ]


Program('../flatcat_udp', LIBS=['framework', 'pthread'], LIBPATH = ["../../framework"], source = src_files, CPPPATH=cpppaths, CPPFLAGS=cppflags, CXXFLAGS=cxxflags)
