jw-pkg/make/dirs.mk

40 lines
539 B
Makefile
Raw Normal View History

# generic utility modules
# (c) 2001 jannet it services
# contact@jannet.de
# $Id$
.NOTPARALLEL:
include $(MODDIR)/make/defs.mk
SUBDIRS ?= $(FIND_SUBDIRS)
ifeq ($(SUBDIRS),)
all:
subdirs:
2001-11-06 07:50:14 +00:00
clean distclean:
.DEFAULT:
install:
else
.PHONY: $(SUBDIRS)
2005-07-30 12:52:36 +00:00
all subdirs:
$(make_subdirs)
$(MAKECMDGOALS):
$(make_subdirs_target)
clean: dirs.clean
distclean: dirs.distclean clean
dirs.clean:
rm -rf $(TEXTCLEAN) $(CLEAN) dist *.done *~ .*.swp *.tmp core *.rep
dirs.distclean:
2002-07-25 10:39:55 +00:00
rm -rf $(DISTCLEAN)
.DEFAULT:
$(make_subdirs_target)
endif