blob: 94a406f512393f4062ce4d9f82385f5bfe3883c1 [file] [log] [blame]
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)