mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-20 05:37:38 +01:00
subdirs.mk: Add file
This commit is contained in:
parent
0856b6f6f2
commit
4247af2a8e
1 changed files with 24 additions and 0 deletions
24
make/subdirs.mk
Normal file
24
make/subdirs.mk
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
ifdef SUBDIRS
|
||||||
|
|
||||||
|
all.dirs:
|
||||||
|
for dir in $(SUBDIRS); do make -C $$dir all; done
|
||||||
|
install.dirs:
|
||||||
|
for dir in $(SUBDIRS); do make -C $$dir install; done
|
||||||
|
clean.dirs:
|
||||||
|
for dir in $(SUBDIRS); do make -C $$dir clean; done
|
||||||
|
distclean.dirs:
|
||||||
|
for dir in $(SUBDIRS); do make -C $$dir distclean; done
|
||||||
|
|
||||||
|
all: all.dirs
|
||||||
|
install: install.dirs
|
||||||
|
clean: clean.dirs
|
||||||
|
distclean: distclean.dirs
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
all.dirs:
|
||||||
|
install.dirs:
|
||||||
|
clean.dirs:
|
||||||
|
distclean.dirs:
|
||||||
|
|
||||||
|
endif
|
||||||
Loading…
Add table
Add a link
Reference in a new issue