project('lib@root', 'c') lib = library('lib', 'lib.c') subdir('main')