utils: mdldec: convert to include targets usage

This commit is contained in:
Alibek Omarov 2022-09-10 20:05:58 +03:00
parent dedc144b8b
commit 470121512a

View File

@ -16,16 +16,11 @@ def build(bld):
if bld.env.DISABLE_UTILS_MDLDEC: if bld.env.DISABLE_UTILS_MDLDEC:
return return
source = bld.path.ant_glob('*.c') bld(source = bld.path.ant_glob('*.c'),
includes = '. ../../common ../../engine ../../engine/common ../../engine/common/imagelib ../../public'
libs = [ 'public', 'M' ]
bld(
source = source,
target = 'mdldec', target = 'mdldec',
features = 'c cprogram', features = 'c cprogram',
includes = includes, includes = includes,
use = libs, use = 'engine_includes public M',
install_path = bld.env.BINDIR, install_path = bld.env.BINDIR,
subsystem = bld.env.CONSOLE_SUBSYSTEM subsystem = bld.env.CONSOLE_SUBSYSTEM
) )