git.droids-corp.org
/
libcmdline.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
cmdline: new build system
[libcmdline.git]
/
libcmdline.subdir.mk
1
ifeq ($(S),)
2
S = .
3
endif
4
5
_all: all
6
7
all clean install uninstall:
8
@for i in $(SUBDIRS) ; do \
9
echo "== $$i"; \
10
mkdir -p $(BUILDDIR)/$(S)/$$i; \
11
$(MAKE) -C $(BUILDDIR)/$(S)/$$i \
12
-f $(SRCDIR)/$(S)/$$i/Makefile \
13
S=$(S)/$$i $@ || exit $$? ; \
14
done
15
16
.PHONY: _all all clean install uninstall