mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
subdirs.mk: Move call targets up
This commit is contained in:
parent
6943634b5a
commit
dc55e330e2
1 changed files with 10 additions and 9 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
clean.var:
|
all: all.dirs
|
||||||
rm -rf $(CLEAN)
|
install: install.dirs
|
||||||
distclean.var:
|
clean: clean.dirs clean.var
|
||||||
rm -rf $(DISTCLEAN)
|
distclean: distclean.dirs distclean.var
|
||||||
|
|
||||||
ifdef SUBDIRS
|
ifdef SUBDIRS
|
||||||
|
|
||||||
|
|
@ -14,11 +14,6 @@ clean.dirs:
|
||||||
distclean.dirs:
|
distclean.dirs:
|
||||||
set -e; for dir in $(SUBDIRS); do make -C $$dir distclean; done
|
set -e; for dir in $(SUBDIRS); do make -C $$dir distclean; done
|
||||||
|
|
||||||
all: all.dirs
|
|
||||||
install: install.dirs
|
|
||||||
clean: clean.dirs clean.var
|
|
||||||
distclean: distclean.dirs distclean.var
|
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
all.dirs:
|
all.dirs:
|
||||||
|
|
@ -27,3 +22,9 @@ clean.dirs:
|
||||||
distclean.dirs:
|
distclean.dirs:
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
clean.var:
|
||||||
|
rm -rf $(CLEAN)
|
||||||
|
distclean.var:
|
||||||
|
rm -rf $(DISTCLEAN)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue