project('prebuilt static lib', 'c') subdir('libdir') test('static', executable('mainprog', 'main.c', dependencies : best_dep))