view iconfig.mk @ 5530:226b850d158d draft

Fix compile without various defines
author Roy Marples <roy@marples.name>
date Fri, 30 Oct 2020 22:18:57 +0000
parents ab6ab600e935
children
line wrap: on
line source

# 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}