Mercurial > hg > dmlib
comparison 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 |
comparison
equal
deleted
inserted
replaced
2348:2d8fee642543 | 2349:463e5d9771ee |
---|---|
1 ### | 1 ### |
2 ### Get settings from config.mak | 2 ### Get settings from config.mak |
3 ### | 3 ### |
4 ifneq ($(DMCONFIG),) | 4 ifneq ($(DM_CONFIG),) |
5 include $(DMCONFIG) | 5 ifneq ($(DM_CONFIG),no) |
6 include $(DM_CONFIG) | |
7 endif | |
6 else | 8 else |
7 include config.mak | 9 include config.mak |
8 endif | 10 endif |
9 | 11 |
10 MKDIR ?= mkdir | 12 MKDIR ?= mkdir |