sourcemod/extensions/geoip/AMBuilder

16 lines
306 B
Plaintext
Raw Normal View History

# vim: set sts=2 ts=8 sw=2 tw=99 et ft=python:
import os
2009-08-30 09:46:56 +02:00
binary = SM.ExtLibrary(builder, 'geoip.ext')
if builder.target_platform is 'windows':
binary.compiler.postlink += ['wsock32.lib']
binary.sources += [
'extension.cpp',
'GeoIP.c',
'sdk/smsdk_ext.cpp'
]
SM.binaries += [builder.Add(binary)]