Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2011 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 ../Make.inc | |
6 | |
7 all: install | |
8 | |
9 CLEAN_DIRS=cc 6l 6a 6c 8l 8a 8c 8g 5l 5a 5c 5g gc 6g gopack nm cgo cov ebnflint godefs godoc gofmt goinstall gotest goyacc hgpatch prof | |
10 | |
11 DIRS=cc $(O)l $(O)a $(O)c gc $(O)g cov godefs gopack gotest nm prof | |
12 | |
13 .NOTPARALLEL:· | |
14 | |
bsiegert
2011/02/24 09:30:05
Maybe set .PHONY for the different targets, as the
| |
15 mkenam:· | |
16 (cd $(O)l && bash mkenam && $(MAKE) enam.o) | |
17 | |
18 install.dirs: $(addsuffix .install, $(DIRS)) | |
19 clean.dirs: $(addsuffix .clean, $(CLEAN_DIRS)) | |
20 | |
21 %.install: | |
22 @echo | |
23 @echo %%%% making $* %%%% | |
24 @echo | |
25 $(MAKE) -C $* install | |
26 | |
27 %.clean: | |
28 $(MAKE) -C $* clean | |
29 | |
30 install: mkenam install.dirs | |
31 | |
32 clean: clean.dirs | |
33 | |
34 echo-dirs: | |
35 @echo $(DIRS) | |
OLD | NEW |