summaryrefslogtreecommitdiff
path: root/deps/gyp/test/ninja/action_dependencies/src/b.c
blob: 824464695a8617f43960f664d39a9261b6e74e7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Copyright (c) 2012 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.
 */

#include <stdio.h>

#include "b.h"

int main(int argc, char** argv) {
  FILE* f;
  if (argc < 2)
    return 1;
  f = fopen(argv[1], "wt");
  fprintf(f, "#define VALUE %d\n", funcA());
  fclose(f);
  return 0;
}