BUILD_ROOT = $(shell pwd) | |
include Make.defines | |
DIRS = liblynq_lib_rilv2 libql_lib_v2_rilv2 test helloworld | |
all: | |
@echo $(ROOT) | |
@echo $(CC) | |
@echo $(OUT_DIR) | |
@rm -rf $(OUT_DIR) | |
@ [ ! -d out/bin ] && mkdir -p out/bin | |
@ [ ! -d out/lib ] && mkdir -p out/lib | |
@for i in $(DIRS); do \ | |
if [ -d $$i ];then \ | |
(cd $$i && echo "making $$i" && $(MAKE) ) || exit 1; \ | |
fi \ | |
done | |
@echo "Success" | |
clean: | |
@for i in $(DIRS); do \ | |
(cd $$i && echo "Cleaning $$i" && $(MAKE) clean) || exit 1; \ | |
done | |
rm -rf $(OUT_DIR) |