awtk/tools/image_dither/SConscript
2020-05-27 08:36:42 +08:00

14 lines
325 B
Python

import os
import sys
env=DefaultEnvironment().Clone()
BIN_DIR=os.environ['BIN_DIR'];
LIB_DIR=os.environ['LIB_DIR'];
env['LIBS'] = ['image_gen', 'common'] + env['LIBS']
env['LINKFLAGS'] = env['OS_SUBSYSTEM_CONSOLE'] + env['LINKFLAGS'];
env.Program(os.path.join(BIN_DIR, 'image_dither_gen'), ["main.c", "image_dither.c"])