mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
dirs.mk: Add default for SUBDIRS: $(FIND_SUBDIRS)
- Conditionally default SUBDIRS to $(FIND_SUBDIRS)
- Change condition for dummy targets from ifndef SUBDIRS to
ifeq ($(SUBDIRS),) to be able to do that
This commit is contained in:
parent
80ba39c15c
commit
711c42ea0a
1 changed files with 4 additions and 2 deletions
|
|
@ -7,7 +7,9 @@
|
|||
|
||||
include $(MODDIR)/make/defs.mk
|
||||
|
||||
ifndef SUBDIRS
|
||||
SUBDIRS ?= $(FIND_SUBDIRS)
|
||||
|
||||
ifeq ($(SUBDIRS),)
|
||||
all:
|
||||
subdirs:
|
||||
clean distclean:
|
||||
|
|
@ -21,8 +23,8 @@ install:
|
|||
$(make_subdirs_target)
|
||||
|
||||
clean:
|
||||
rm -rf $(TEXTCLEAN) $(CLEAN) dist *.done *~ .*.swp *.tmp core *.rep
|
||||
$(make_subdirs_target)
|
||||
rm -rf $(TEXTCLEAN) $(CLEAN) dist *.done *~ .*.swp *.tmp core *.rep
|
||||
|
||||
distclean: rmdistclean clean
|
||||
rmdistclean:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue