summaryrefslogtreecommitdiff
path: root/deps/gyp/test/actions/src/subdir1/make-prog1.py
blob: 7ea1d8a2d487083ef0f92c094db48dfe6952cb1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env python

# Copyright (c) 2009 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import sys

contents = r"""
#include <stdio.h>

void prog1(void)
{
  printf("Hello from make-prog1.py\n");
}
"""

open(sys.argv[1], 'w').write(contents)

sys.exit(0)