mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
14 lines
298 B
Python
14 lines
298 B
Python
import os
|
|
import sys
|
|
|
|
env=DefaultEnvironment().Clone()
|
|
BIN_DIR=os.environ['BIN_DIR'];
|
|
LIB_DIR=os.environ['LIB_DIR'];
|
|
|
|
env.Library(os.path.join(LIB_DIR, 'image_gen'), ['image_gen.c']);
|
|
env['LIBS'] = ['image_gen', 'common'] + env['LIBS']
|
|
env.Program(os.path.join(BIN_DIR, 'imagegen'), ["main.c"])
|
|
|
|
|
|
|