1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
# --*- Makefile -*-------------------------------------------------------------
#$Author: saulius $
#$Date: 2019-08-14 10:25:26 +0300 (Wed, 14 Aug 2019) $
#$Revision: 213 $
#$URL: svn+ssh://saulius-grazulis.lt/home/saulius/svn-repositories/makefiles/Makefile-backbone $
#------------------------------------------------------------------------------
MAKEFILE_DIRS = . makefiles/enabled
MAKEFILE_WCARDS = $(addsuffix /Makelocal*, ${MAKEFILE_DIRS})
MAKECONF_WCARDS = $(addsuffix /Makeconf*, ${MAKEFILE_DIRS})
MAKECONF_FILES = $(filter-out %.example, \
$(filter-out %~, $(wildcard ${MAKECONF_WCARDS}) \
))
ifneq ("${MAKECONF_FILES}","")
include ${MAKECONF_FILES}
endif
.PHONY: all clean distclean cleanAll
all:
clean:
cleanAll distclean: clean
MAKELOCAL_FILES = ${filter-out %~, ${wildcard ${MAKEFILE_WCARDS}}}
ifneq ("${MAKELOCAL_FILES}","")
include ${MAKELOCAL_FILES}
endif
|