mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
$(MODDIR)/make/defs.mk: Split off defs-cpp.mk with C++ definitions
C++ definitions are numerous, and they shouldn't pollute variable space and performance outside of directories containing C++ files. This commit pushes them into a defs-cpp.mk file. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
54d5790167
commit
316435bb78
19 changed files with 681 additions and 673 deletions
|
|
@ -2,10 +2,12 @@
|
|||
|
||||
# -- What do I know about myself?
|
||||
VERSION_FILE ?= $(firstword $(wildcard VERSION) $(TOPDIR)/VERSION)
|
||||
ifeq ($(wildcard $(VERSION_FILE)),)
|
||||
DEVELOPMENT ?= true
|
||||
else
|
||||
DEVELOPMENT ?= $(shell grep -q 'dev' $(VERSION_FILE) && echo true)
|
||||
ifndef DEVELOPMENT
|
||||
ifeq ($(wildcard $(VERSION_FILE)),)
|
||||
DEVELOPMENT := true
|
||||
else
|
||||
DEVELOPMENT := $(shell grep -q 'dev' $(VERSION_FILE) && echo true)
|
||||
endif
|
||||
endif
|
||||
|
||||
# -- Conclude the build system's location:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue