diff options
Diffstat (limited to 'Sluift/SConscript.variant')
-rw-r--r-- | Sluift/SConscript.variant | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Sluift/SConscript.variant b/Sluift/SConscript.variant new file mode 100644 index 0000000..bf5d85e --- /dev/null +++ b/Sluift/SConscript.variant @@ -0,0 +1,14 @@ +Import('env') +Import('sluift_env') +Import('sluift_variant') +Import('sluift_sources') + +if sluift_variant == 'exe' : + env["SLUIFT"] = sluift_env.Program("sluift", sluift_sources + [ + "#/Sluift/lua.c", + "#/Sluift/linit.c", + ]) +else : + sluift_env.SharedLibrary("sluift", sluift_sources + [ + "#/Sluift/dll.c" + ]) |