mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +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:
|
||||
rm -rf $(CLEAN)
|
||||
distclean.var:
|
||||
rm -rf $(DISTCLEAN)
|
||||
all: all.dirs
|
||||
install: install.dirs
|
||||
clean: clean.dirs clean.var
|
||||
distclean: distclean.dirs distclean.var
|
||||
|
||||
ifdef SUBDIRS
|
||||
|
||||
|
|
@ -14,11 +14,6 @@ clean.dirs:
|
|||
distclean.dirs:
|
||||
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
|
||||
|
||||
all.dirs:
|
||||
|
|
@ -27,3 +22,9 @@ clean.dirs:
|
|||
distclean.dirs:
|
||||
|
||||
endif
|
||||
|
||||
clean.var:
|
||||
rm -rf $(CLEAN)
|
||||
distclean.var:
|
||||
rm -rf $(DISTCLEAN)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue