author | mickeyl <mickeyl> | 2004-03-27 17:47:53 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-03-27 17:47:53 (UTC) |
commit | 6effd0ccc193cacaa1eb8225bf6e542e7d04b2bf (patch) (side-by-side diff) | |
tree | 5917b89a4548ab6321ff0950ce31b89c868f5437 | |
parent | 3d23fd31862609a2268450b44246079b8dcfb0b7 (diff) | |
download | opie-6effd0ccc193cacaa1eb8225bf6e542e7d04b2bf.zip opie-6effd0ccc193cacaa1eb8225bf6e542e7d04b2bf.tar.gz opie-6effd0ccc193cacaa1eb8225bf6e542e7d04b2bf.tar.bz2 |
define OPIE_NO_DEBUG for release builds (see usage example in libopie2/core/odebug.*)
-rw-r--r-- | Rules.make | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,32 +1,33 @@ .phony: force force: $(configs) : $(call makecfg,$@) $(TOPDIR)/gen.pro : $(TOPDIR)/.config echo > $@ ifneq ($(CONFIG_DEBUG),) echo CONFIG += debug >> $@ echo CONFIG -= release >> $@ echo DEFINES += "QT_COMPONENT_DEBUG=2" >> $@ echo DEFINES += QT_DEBUG >> $@ else echo CONFIG -= debug >> $@ echo CONFIG += release >> $@ + echo DEFINES += "OPIE_NO_DEBUG" >> $@ endif ifeq ($(filter 3.%,$(QTE_VERSION)),) # not qt3 echo CONFIG -= qt3 >> $@ else echo CONFIG += qt3 >> $@ endif ifneq ($(CONFIG_QUICK_LAUNCH),) echo contains\( CONFIG, quick-app \) \{ >> $@ echo CONFIG -= quick-app >> $@ echo CONFIG += quick-app-lib >> $@ echo QUICKLAUNCH_PATH = $(CONFIG_QUICKLAUNCH_PATH) >> $@ echo \} >> $@ else echo contains\( CONFIG, quick-app \) \{ >> $@ echo CONFIG -= quick-app >> $@ echo CONFIG += quick-app-bin >> $@ |