| Christian Lavoie | afc6d8f | 2011-02-20 02:39:19 +0000 | [diff] [blame] | 1 | # 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 |  | 
|  | 5 | include $(GOROOT)/src/Make.inc | 
|  | 6 |  | 
|  | 7 | all: Make.deps install | 
|  | 8 |  | 
|  | 9 | TARG=thriftlib/tutorialcalculator | 
|  | 10 |  | 
|  | 11 | DIRS=\ | 
|  | 12 | src/\ | 
|  | 13 |  | 
|  | 14 | GOFILES=\ | 
|  | 15 |  | 
|  | 16 |  | 
|  | 17 | clean.dirs: $(addsuffix .clean, $(DIRS)) | 
|  | 18 | install.dirs: $(addsuffix .install, $(DIRS)) | 
|  | 19 | test.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 |  | 
|  | 33 | Make.deps: | 
|  | 34 | ./deps.bash | 
|  | 35 |  | 
|  | 36 | deps: | 
|  | 37 | ./deps.bash | 
|  | 38 |  | 
|  | 39 | clean: clean.dirs | 
|  | 40 |  | 
|  | 41 | install: install.dirs | 
|  | 42 |  | 
|  | 43 | test:	test.dirs | 
|  | 44 |  |