summaryrefslogtreecommitdiff
path: root/GNU/gcc/Makefile
blob: 370dce486f6d78b35844a846519ced044beb3d35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#
# Following command helps to cheate SUBDIRS list:
# $ tree -fid .
#

SUBDIRS := gcc-2.95.3 \
           gcc-4.5.1  \
           gcc-4.7.2  \
           gcc-4.7.3  \
           gcc-4.8.2  \
           gcc-4.8.5  \
           gcc-4.9.1  \
           gcc-4.9.2  \
           gcc-4.9.3  \
           gcc-4.9.4  \
           gcc-5.2.0  \
           gcc-5.3.0  \
           gcc-5.4.0  \
           gcc-6.2.0  \
           gcc-6.3.0  \
           gcc-6.4.0  \
           gcc-6.5.0  \
           gcc-7.1.0  \
           gcc-7.2.0  \
           gcc-7.3.0  \
           gcc-7.4.0  \
           gcc-7.5.0  \
           gcc-8.2.0  \
           gcc-8.3.0  \
           gcc-8.4.0  \
           gcc-9.2.0  \
           gcc-9.3.0  \
           gcc-10.2.0 \
           gcc-10.3.0 \
           gcc-10.4.0 \
           gcc-11.1.0 \
           gcc-11.2.0 \
           gcc-11.3.0 \
           gcc-12.2.0 \
           gcc-13.2.0


all-recursive downloads_clean-recursive:
	@set fnord $(MAKEFLAGS); amf=$$2; \
	target=`echo $@ | sed s/-recursive//`; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  echo "Making $$target in $$subdir"; \
	  local_target="$$target"; \
	  (cd $$subdir && $(MAKE) $$fnord $$local_target) \
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	done; test -z "$$fail"

all: all-recursive

downloads_clean: downloads_clean-recursive

.PHONY: all-recursive downloads_clean-recursive all downloads_clean