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
|
|
@ -2,8 +2,6 @@ LOCAL_CPP += main.cpp
|
|||
YAPP_CLASS ?= $(firstword $(basename $(wildcard YApp*.h Y*.h *.h)))
|
||||
YAPP_CLASS_H ?= $(firstword $(wildcard $(addsuffix /$(YAPP_CLASS).h,\
|
||||
$(subst -I,,$(INCLUDE)))) $(YAPP_CLASS).h)
|
||||
LOCAL_CFLAGS += -DVERSION_STR=\"$(VERSION)\"
|
||||
LOCAL_CPPFLAGS += -DVERSION_STR=\"$(VERSION)\"
|
||||
|
||||
ifneq ($(TARGET),mingw)
|
||||
LOCAL_LDFLAGS += -rdynamic
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue