summaryrefslogtreecommitdiffstats
path: root/iconfig.mk
blob: 50c50340c17e8b3ae34c80b9427e253b2d8bf5f2 (plain) (blame)
1
2
3
4
5
6
7
8
# Nasty hack so that make clean works without configure being run
TOP?=		.
_CONFIG_MK!=	test -e ${TOP}/config.mk && \
		    echo config.mk || echo config-null.mk
_CONFIG_MK?=	$(shell test -e ${TOP}/config.mk && \
		    echo config.mk || echo config-null.mk)
CONFIG_MK?=	${_CONFIG_MK}
include		${TOP}/${CONFIG_MK}