mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
defs.mk.in: Do all -DVERSION_STR handling
Push -DVERSION_STR from main.mk and yapp.mk into defs.mk.in.
This commit is contained in:
parent
d39072662c
commit
adfdec7492
3 changed files with 3 additions and 6 deletions
|
|
@ -147,8 +147,8 @@ SYSCFG_FILE ?= $(SYSCFG_DIR)/$(PROJECT)
|
|||
endif
|
||||
OPTS_PID_FILE ?= $(PIDDIR)/$(PROJECT).pid
|
||||
|
||||
BUILD_CFLAGS += -DVERSION=$(HEX_VERSION)
|
||||
BUILD_CPPFLAGS += -DVERSION=$(HEX_VERSION)
|
||||
BUILD_CFLAGS += -DVERSION=$(HEX_VERSION) -DVERSION_STR=\"$(VERSION)\"
|
||||
BUILD_CPPFLAGS += -DVERSION=$(HEX_VERSION) -DVERSION_STR=\"$(VERSION)\"
|
||||
|
||||
ifeq ($(TARGET),mingw)
|
||||
ifneq ($(wildcard /usr/bin/i686-w64-mingw32-gcc),)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue