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:
Jan Lindemann 2012-05-02 17:55:14 +00:00 committed by Jan Lindemann
commit adfdec7492
3 changed files with 3 additions and 6 deletions

View file

@ -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