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