| { | |
| 'targets': [ | |
| { | |
| # have to specify 'liblib' here since gyp will remove the first one :\ | |
| 'target_name': 'nodesdl', | |
| 'type': 'shared_library', | |
| 'sources': [ | |
| 'src/helpers.cc', | |
| 'src/nodesdl.cc', | |
| ], | |
| 'ldflags': [ | |
| '<!@(sdl-config --libs)', | |
| "-lSDL_ttf", | |
| "-lSDL_image" | |
| ], | |
| 'cflags': [ | |
| '<!@(sdl-config --cflags)' | |
| ], | |
| } | |
| ] | |
| } |