Rev 4337 | Rev 4342 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4337 | Rev 4340 | ||
---|---|---|---|
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/rtld \ |
35 | lib/rtld \ |
36 | lib/libc \ |
36 | lib/libc \ |
37 | lib/libfs \ |
37 | lib/libfs \ |
Line 77... | Line 77... | ||
77 | endif |
77 | endif |
78 | 78 | ||
79 | BUILDS := $(addsuffix .build,$(DIRS)) |
79 | BUILDS := $(addsuffix .build,$(DIRS)) |
80 | CLEANS := $(addsuffix .clean,$(DIRS)) |
80 | CLEANS := $(addsuffix .clean,$(DIRS)) |
81 | 81 | ||
82 | .PHONY: all config build $(BUILDS) $(CLEANS) clean distclean |
82 | .PHONY: all $(BUILDS) $(CLEANS) clean kerninc |
83 | 83 | ||
84 | all: |
- | |
85 | ../tools/config.py uspace.config default $(ARCH) $(COMPILER) $(CONFIG_DEBUG) |
- | |
86 | $(MAKE) -C lib/libc kerninc |
- | |
87 | $(MAKE) -C . build |
- | |
88 | - | ||
89 | config: |
- | |
90 | ../tools/config.py uspace.config |
84 | all: ../Makefile.config kerninc $(BUILDS) |
91 | - | ||
92 | build: $(BUILDS) |
- | |
93 | 85 | ||
94 | clean: $(CLEANS) |
86 | clean: $(CLEANS) |
95 | 87 | ||
96 | distclean: clean |
88 | kerninc: |
97 | -rm Makefile.config |
89 | $(MAKE) -C lib/libc kerninc |
98 | 90 | ||
99 | $(CLEANS): |
91 | $(CLEANS): |
100 | -$(MAKE) -C $(basename $@) clean |
92 | -$(MAKE) -C $(basename $@) clean |
101 | 93 | ||
102 | $(BUILDS): |
94 | $(BUILDS): |