+
+ # decide whether to turn on the unicode flag or not.
+ ifneq "$(use_unicode)" ""
+ DEFINITIONS += wxUSE_UNICODE
+ UNICODE_FLAG_ADD = --unicode=yes
+ else
+ UNICODE_FLAG_ADD = --unicode=no
+ endif
+ # could add for debugging: --debug=yes
+ COMPILER_FLAGS += $(shell wx-config --cxxflags $(UNICODE_FLAG_ADD) )
+
+ LOAD_FLAG_PREFIX += $(shell wx-config --libs $(UNICODE_FLAG_ADD) )