mylib.gyp 507 B

1234567891011121314151617181920212223242526
  1. # Copyright (c) 2012 Google Inc. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. {
  5. 'targets': [
  6. {
  7. 'target_name': 'mylib',
  8. 'type': 'static_library',
  9. 'standalone_static_library': 1,
  10. 'sources': [
  11. 'mylib.c',
  12. ],
  13. },
  14. {
  15. 'target_name': 'prog',
  16. 'type': 'executable',
  17. 'sources': [
  18. 'prog.c',
  19. ],
  20. 'dependencies': [
  21. 'mylib',
  22. ],
  23. },
  24. ],
  25. }