2005-04-16 18:48:50 +00:00
|
|
|
target = 'Math'
|
|
|
|
|
|
|
|
files = Split("""
|
2005-04-19 20:00:43 +00:00
|
|
|
Source/Math.c
|
|
|
|
Source/MyMath.c
|
|
|
|
Source/plugin.c
|
|
|
|
Source/mathcrt.lib
|
2005-04-16 18:48:50 +00:00
|
|
|
""")
|
|
|
|
|
|
|
|
libs = Split("""
|
|
|
|
kernel32
|
|
|
|
""")
|
|
|
|
|
|
|
|
Import('PluginEnv')
|
|
|
|
|
|
|
|
env = PluginEnv(target, entry = 'DllMain', nodeflib = 0)
|
|
|
|
|
2005-04-19 20:00:43 +00:00
|
|
|
env.Append(CPPFLAGS = env['CPP_FLAG'])
|
2005-04-16 18:48:50 +00:00
|
|
|
|
|
|
|
plugin = env.SharedLibrary(target, files, LIBS = libs)
|
|
|
|
|
|
|
|
Return('plugin')
|