Subdomain Posts
None | 517 days ago
None | 517 days ago
None | 517 days ago
Bash | 517 days ago
Bash | 517 days ago
Bash | 518 days ago
Bash | 518 days ago
None | 582 days ago
None | 595 days ago
None | 624 days ago
Recent Posts
None | 4 sec ago
None | 9 sec ago
PHP | 12 sec ago
PHP | 16 sec ago
OCaml | 29 sec ago
None | 42 sec ago
None | 1 min ago
C# | 1 min ago
None | 1 min ago
None | 1 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
By k776 on the 18th of Oct 2008 09:46:14 AM
Download |
Raw |
Embed |
Report
diff -r df8f70a1c1cd SConstruct
--- a/SConstruct Thu Oct 16 04:45:25 2008 -0400
+++ b/SConstruct Sat Oct 18 22:39:14 2008 +1300
-224,12 +224,12 @@
env.Append(LINKFLAGS='-pg')
env.Append(CXXFLAGS=' -O2')
env.Append(LINKFLAGS='-O2')
- if env['mingw'] or isWindowsPlatform:
- #These four options must be present before the object files when compiling in mingw
- env.Append(LINKFLAGS="-lmingw32 -lSDLmain -lSDL -mwindows")
- env.Append(LIBS=['wsock32', 'winmm'])
- env.ParseConfig("sh sdl-config --cflags")
- env.ParseConfig("sh sdl-config --libs")
+ if env['mingw'] or isWindowsPlatform:
+ env.Append(LIBPATH=['/usr/local/lib'])
+ env.Append(LIBS=['wsock32', 'winmm', 'mingw32', 'SDLmain', 'SDL'])
+ env.Append(LINKFLAGS=['-mwindows'])
+ env.Append(CPPPATH=['/usr/local/include/SDL'])
+ env.Append(CPPDEFINES=['-D_GNU_SOURCE=1', '-Dmain=SDL_main'])
else:
env.ParseConfig("sdl-config --cflags")
env.ParseConfig("sdl-config --libs")
Submit a correction or amendment below.
[ previous version ] | [ difference ] | Make A New Post