blob: 50c5dfe62312545e8178fc5f62105ff3ba7bebfc [file] [log] [blame]
Christian Lavoieafc6d8f2011-02-20 02:39:19 +00001# Copyright 2009 The Go Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style
3# license that can be found in the LICENSE file.
4
5include $(GOROOT)/src/Make.inc
6
7all: Make.deps install
8
9TARG=thriftlib/tutorialcalculator
10
11DIRS=\
12 src/\
13
14GOFILES=\
15
16
17clean.dirs: $(addsuffix .clean, $(DIRS))
18install.dirs: $(addsuffix .install, $(DIRS))
19test.dirs: $(addsuffix .test, $(DIRS))
20
21
22%.clean:
23 +cd $* && $(MAKE) clean
24
25%.install:
26 +cd $* && $(MAKE) install
27
28%.test:
29 +cd $* && $(MAKE) test
30
31
32
33Make.deps:
34 ./deps.bash
35
36deps:
37 ./deps.bash
38
39clean: clean.dirs
40
41install: install.dirs
42
43test: test.dirs
44