mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-26 07:13:55 +01:00
topdir.mk: Add sudir recursion to all targets
This commit is contained in:
parent
7bbfa586a7
commit
d8c6c12f6d
1 changed files with 6 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
|
SUBDIRS ?= make
|
||||||
|
|
||||||
local-%:
|
local-%:
|
||||||
find . -name $@.mk | \
|
find . -name $@.mk | \
|
||||||
while read f; do (\
|
while read f; do (\
|
||||||
|
|
@ -8,3 +10,7 @@ local-%:
|
||||||
|
|
||||||
unlocal:
|
unlocal:
|
||||||
rm -f $(shell find . -name local.mk)
|
rm -f $(shell find . -name local.mk)
|
||||||
|
|
||||||
|
all setup install clean distclean:
|
||||||
|
set -e; for d in $(SUBDIRS); do make -C $$d $@; done
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue