29,7 → 29,7 |
## Include configuration |
# |
|
-include Makefile.config |
-include ../Makefile.config |
|
DIRS = \ |
lib/rtld \ |
79,22 → 79,14 |
BUILDS := $(addsuffix .build,$(DIRS)) |
CLEANS := $(addsuffix .clean,$(DIRS)) |
|
.PHONY: all config build $(BUILDS) $(CLEANS) clean distclean |
.PHONY: all $(BUILDS) $(CLEANS) clean kerninc |
|
all: |
../tools/config.py uspace.config default $(ARCH) $(COMPILER) $(CONFIG_DEBUG) |
$(MAKE) -C lib/libc kerninc |
$(MAKE) -C . build |
all: ../Makefile.config kerninc $(BUILDS) |
|
config: |
../tools/config.py uspace.config |
|
build: $(BUILDS) |
|
clean: $(CLEANS) |
|
distclean: clean |
-rm Makefile.config |
kerninc: |
$(MAKE) -C lib/libc kerninc |
|
$(CLEANS): |
-$(MAKE) -C $(basename $@) clean |