diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-09-07 20:25:41 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-07 20:25:41 -0700 |
commit | a694963fb65ab94bd12c13ca2de02f8dea5a218f (patch) | |
tree | 69f817592e9118eb33bcfa3361c0fce65f0af841 | |
parent | 520367f881fd7cefd3ca3c0f9c3c85b6da6fb5fa (diff) |
add sdl-config tool
-rwxr-xr-x | system/bin/sdl-config | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/system/bin/sdl-config b/system/bin/sdl-config new file mode 100755 index 00000000..8c69a95c --- /dev/null +++ b/system/bin/sdl-config @@ -0,0 +1,13 @@ +#!/usr/bin/env python2 + +import sys + +print >> sys.stderr, 'emscripten sdl-config called with', sys.argv + +args = sys.argv[1:] + +if args[0] == '--cflags': + print '-lSDL' +elif '--version' in args: + print '1.3.0' + |