Mercurial > hg > dmlib
diff Makefile.gen @ 2349:463e5d9771ee
More build system work: change DMCONFIG Make variable to DM_CONFIG, and add
option of setting it to value "no" which disables inclusion of "config.mak".
Setting DM_CONFIG to any other non-empty value will include file with that
name instead. Empty value will include default "config.mak".
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 29 Oct 2019 14:46:01 +0200 |
parents | 2d8fee642543 |
children | d3d7fce567d9 |
line wrap: on
line diff
--- a/Makefile.gen Tue Oct 29 14:36:13 2019 +0200 +++ b/Makefile.gen Tue Oct 29 14:46:01 2019 +0200 @@ -1,8 +1,10 @@ ### ### Get settings from config.mak ### -ifneq ($(DMCONFIG),) -include $(DMCONFIG) +ifneq ($(DM_CONFIG),) +ifneq ($(DM_CONFIG),no) +include $(DM_CONFIG) +endif else include config.mak endif