mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
40 lines
563 B
Makefile
40 lines
563 B
Makefile
# generic utility modules
|
|
# (c) 2001 jannet it services
|
|
# contact@jannet.de
|
|
# $Id$
|
|
|
|
.NOTPARALLEL:
|
|
|
|
include $(MODDIR)/make/defs.mk
|
|
|
|
SUBDIRS ?= $(FIND_SUBDIRS)
|
|
|
|
ifeq ($(SUBDIRS_TO_ITERATE),)
|
|
|
|
all:
|
|
subdirs:
|
|
clean distclean:
|
|
.DEFAULT:
|
|
install:
|
|
|
|
else
|
|
.PHONY: $(SUBDIRS_TO_ITERATE)
|
|
|
|
#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:
|
|
rm -rf $(DISTCLEAN)
|
|
|
|
.DEFAULT:
|
|
$(make_subdirs_target)
|
|
endif
|