from init_env import init_environment

env = init_environment("qt4 evio root")


# Include Path
incpath = ['src']
env.Append(CPPPATH = incpath)

sources = Split("""gemc_evio2root.cc
                   src/generated.cc
                   src/flux_hit.cc
                   src/bonus.cc
                   src/bst_hit.cc
                   src/fst_hit.cc
                   src/fmt_hit.cc
                   src/bmt_hit.cc
                   src/ic_hit.cc
                   src/ctof_hit.cc
                   src/cnd_hit.cc
                   src/otof_p1a.cc
                   src/otof_p1b.cc
                   src/otof_p2b.cc
                   src/dc_hit.cc
                   src/ec_hit.cc
                   src/rich_hit.cc
                   src/root_tree.cc""")

Target = 'gemc_evio2root'

env.Program(source = sources, target = Target)

