5 |
finleyC_env=env.Copy() |
finleyC_env=env.Copy() |
6 |
src_dir = finleyC_env.Dir('.').srcnode().abspath |
src_dir = finleyC_env.Dir('.').srcnode().abspath |
7 |
|
|
8 |
import os |
import os |
9 |
filenames = os.listdir(src_dir) |
filenames = os.listdir(src_dir) |
10 |
sources = [x for x in filenames if os.path.splitext(x)[1] in ['.cpp', '.c']] |
sources = [x for x in filenames if os.path.splitext(x)[1] in ['.cpp', '.c']] |
11 |
headers = [x for x in filenames if os.path.splitext(x)[1] in ['.h']] |
headers = [x for x in filenames if os.path.splitext(x)[1] in ['.h']] |