mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
dirs.mk: Add (half understood but working) support for empty SUBDIRS variable
This commit is contained in:
parent
4d7985324f
commit
1b365f0ebd
1 changed files with 14 additions and 1 deletions
13
make/dirs.mk
13
make/dirs.mk
|
|
@ -6,11 +6,24 @@
|
|||
include $(MODDIR)/make/defs.mk
|
||||
|
||||
subdirs:
|
||||
ifdef SUBDIRS
|
||||
else
|
||||
$(make_subdirs)
|
||||
endif
|
||||
|
||||
clean:
|
||||
ifdef SUBDIRS
|
||||
else
|
||||
rm -rf $(TEXTCLEAN) $(CLEAN)
|
||||
$(make_subdirs_target)
|
||||
endif
|
||||
|
||||
.DEFAULT:
|
||||
ifdef SUBDIRS
|
||||
else
|
||||
$(make_subdirs_target)
|
||||
endif
|
||||
|
||||
ifdef SUBDIRS
|
||||
install:
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue