Don't build folders without Makefile
This commit is contained in:
@@ -148,21 +148,23 @@ $(ARNAME): $(SUBDIRS) $(LOCALOBJECTS)
|
||||
|
||||
.PHONY: $(SUBDIRS)
|
||||
$(SUBDIRS):
|
||||
@depth=$(MAKELEVEL); \
|
||||
while [ $${depth} -gt 0 ] ; do \
|
||||
echo -n " "; \
|
||||
depth=`expr $$depth - 1`; \
|
||||
done; \
|
||||
true
|
||||
@echo " <$@>"
|
||||
@$(MAKE) -s -S -C $@ artifacts $(ARCH)
|
||||
@depth=$(MAKELEVEL); \
|
||||
while [ $${depth} -gt 0 ] ; do \
|
||||
echo -n " "; \
|
||||
depth=`expr $$depth - 1`; \
|
||||
done; \
|
||||
true
|
||||
@echo " </$@>"
|
||||
@if [ -e "$@/Makefile" ]; then \
|
||||
depth=$(MAKELEVEL); \
|
||||
while [ $${depth} -gt 0 ] ; do \
|
||||
echo -n " "; \
|
||||
depth=`expr $$depth - 1`; \
|
||||
done; \
|
||||
true; \
|
||||
echo " <$@>"; \
|
||||
$(MAKE) -s -S -C $@ artifacts $(ARCH); \
|
||||
depth=$(MAKELEVEL); \
|
||||
while [ $${depth} -gt 0 ] ; do \
|
||||
echo -n " "; \
|
||||
depth=`expr $$depth - 1`; \
|
||||
done; \
|
||||
true; \
|
||||
echo " </$@>"; \
|
||||
fi
|
||||
|
||||
.PHONY: all
|
||||
all: $(TARGETS)
|
||||
|
||||
Reference in New Issue
Block a user