Rev 3386 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3386 | Rev 4153 | ||
---|---|---|---|
Line 21... | Line 21... | ||
21 | # 02111-1307, USA. |
21 | # 02111-1307, USA. |
22 | # |
22 | # |
23 | 23 | ||
24 | include Make.defaults |
24 | include Make.defaults |
25 | 25 | ||
26 | SUBDIRS = lib gnuefi inc apps |
26 | SUBDIRS = lib gnuefi inc |
27 | 27 | ||
28 | all: check_gcc $(SUBDIRS) |
28 | all: $(SUBDIRS) |
29 | 29 | ||
30 | $(SUBDIRS): |
30 | $(SUBDIRS): |
31 | $(MAKE) -C $@ |
31 | $(MAKE) -C $@ |
32 | 32 | ||
33 | clean: |
33 | clean: |
Line 37... | Line 37... | ||
37 | install: |
37 | install: |
38 | @for d in $(SUBDIRS); do $(MAKE) -C $$d install; done |
38 | @for d in $(SUBDIRS); do $(MAKE) -C $$d install; done |
39 | 39 | ||
40 | .PHONY: $(SUBDIRS) clean depend |
40 | .PHONY: $(SUBDIRS) clean depend |
41 | 41 | ||
42 | # |
- | |
43 | # on both platforms you must use gcc 3.0 or higher |
- | |
44 | # |
- | |
45 | check_gcc: |
- | |
46 | ifeq ($(GCC_VERSION),2) |
- | |
47 | @echo "you need to use a version of gcc >= 3.0, you are using `$(CC) --version`" |
- | |
48 | @exit 1 |
- | |
49 | endif |
- | |
50 | - | ||
51 | include Make.rules |
42 | include Make.rules |