Rev 3699 | Rev 3882 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3699 | Rev 3803 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | # |
27 | # |
28 | 28 | ||
29 | ## Include configuration |
29 | ## Include configuration |
30 | # |
30 | # |
31 | 31 | ||
32 | -include Makefile.config |
32 | -include ../Makefile.config |
33 | 33 | ||
34 | DIRS = \ |
34 | DIRS = \ |
35 | lib/libc \ |
35 | lib/libc \ |
36 | lib/libfs \ |
36 | lib/libfs \ |
37 | lib/libblock \ |
37 | lib/libblock \ |
Line 71... | Line 71... | ||
71 | endif |
71 | endif |
72 | 72 | ||
73 | BUILDS := $(addsuffix .build,$(DIRS)) |
73 | BUILDS := $(addsuffix .build,$(DIRS)) |
74 | CLEANS := $(addsuffix .clean,$(DIRS)) |
74 | CLEANS := $(addsuffix .clean,$(DIRS)) |
75 | 75 | ||
76 | .PHONY: all config build $(BUILDS) $(CLEANS) clean distclean |
76 | .PHONY: all $(BUILDS) $(CLEANS) clean |
77 | 77 | ||
78 | all: |
- | |
79 | ../tools/config.py uspace.config default $(ARCH) $(COMPILER) $(CONFIG_DEBUG) |
- | |
80 | $(MAKE) -C . build |
- | |
81 | - | ||
82 | config: |
- | |
83 | ../tools/config.py uspace.config |
- | |
84 | - | ||
85 | build: $(BUILDS) |
78 | all: ../Makefile.config $(BUILDS) |
86 | 79 | ||
87 | clean: $(CLEANS) |
80 | clean: $(CLEANS) |
88 | 81 | ||
89 | distclean: clean |
- | |
90 | -rm Makefile.config |
- | |
91 | - | ||
92 | $(CLEANS): |
82 | $(CLEANS): |
93 | -$(MAKE) -C $(basename $@) clean |
83 | -$(MAKE) -C $(basename $@) clean |
94 | 84 | ||
95 | $(BUILDS): |
85 | $(BUILDS): |
96 | $(MAKE) -C $(basename $@) all |
86 | $(MAKE) -C $(basename $@) all |