{
  'targets': [
    {
      'target_name': 'gpiobcm2835nodejs',
      'sources': [
        'src/gpiobcm2835nodejs.cc',
      ],
      "cflags" : [ "-lrt -lbcm2835" ],
      'conditions': [
                ['OS=="linux"', {
                  'cflags!': [
                    '-lrt -lbcm2835',
                  ],
                }],
              ],
      'dependencies': [
                'bcm2835',
              ],
    }
  ]
}
{
  'targets': [
    {
      'target_name': 'gpiobcm2835nodejs',
      'sources': [
        'src/gpiobcm2835nodejs.cc',
      ],
      "cflags" : [ "-lrt -lbcm2835" ],
      'conditions': [
                ['OS=="linux"', {
                  'cflags!': [
                    '-lrt -lbcm2835',
                  ],
                }],
              ]
    }
  ]
}
add conpiler flags