#!/bin/false import os import os.path import glob Import('env') dir_path = Dir('.').abspath # Environment for base library tool_env = env.Clone(); tool_env.sources = sorted(glob.glob(dir_path + "/*.cpp")) tool_env.headers = sorted(glob.glob(dir_path + "/*.h")) env.sources += tool_env.sources; env.headers += tool_env.headers; # Set Alias env.Alias('tools', []); env.targets += ['tools'];