{
  'target_defaults': {
  },

  'targets': [
    {
      'target_name': 'epoll',
      'type': '<(library)',

      'libraries': ['-lws2_32.lib' ],
      'include_dirs': [ 'include', 'src' ],

      'direct_dependent_settings': {
        'include_dirs': [ 'include' ],
        'libraries': ['-lws2_32.lib' ]
      },

      'sources': [
        'common.gypi',
        'include/epoll.h',
        'src/msafd.h',
        'src/ntapi.h',
        'src/tree.h',
        'src/epoll.c',
      ]
    },

    {
      'target_name': 'test',
      'type': 'executable',

      'dependencies': [ 'epoll' ],
      'libraries': ['-lws2_32.lib' ],
      'include_dirs': [ 'include', 'src' ],

      'sources': [
        'src/test.c'
      ]
    }
  ]
}
