better fix of the makefile

This commit is contained in:
Norayr Chilingarian 2024-01-24 04:47:22 +04:00
parent 178da63b8e
commit 99e40b1050

View file

@ -33,13 +33,13 @@ get_deps:
done done
build_deps: build_deps:
mkdir -p $(BUILD) mkdir -p $(BLD)
cd $(BUILD); \ cd $(BLD); \
for i in $(DEPEND); do \ for i in $(DEPEND); do \
if [ -f "$(DPS)/$${i}/GNUmakefile" ]; then \ if [ -f "$(DPS)/$${i}/GNUmakefile" ]; then \
make -f "$(DPS)/$${i}/GNUmakefile" BUILD=$(BUILD); \ make -f "$(DPS)/$${i}/GNUmakefile" BUILD=$(BLD); \
else \ else \
make -f "$(DPS)/$${i}/Makefile" BUILD=$(BUILD); \ make -f "$(DPS)/$${i}/Makefile" BUILD=$(BLD); \
fi; \ fi; \
done done