summaryrefslogtreecommitdiff
path: root/Rules.make
authorzecke <zecke>2003-08-27 12:24:03 (UTC)
committer zecke <zecke>2003-08-27 12:24:03 (UTC)
commit6a6af694205eb9a55b18eb10f2290a9747019388 (patch) (side-by-side diff)
treee930a44ea8b32720a9611bbfd59a71b83bb7e606 /Rules.make
parent151c319a9a67ae420136fb23cc987d23059737f6 (diff)
downloadopie-6a6af694205eb9a55b18eb10f2290a9747019388.zip
opie-6a6af694205eb9a55b18eb10f2290a9747019388.tar.gz
opie-6a6af694205eb9a55b18eb10f2290a9747019388.tar.bz2
If you add quick-app to the CONFIG options
it'll use the global quick app setting to either be a lib or normal executable
Diffstat (limited to 'Rules.make') (more/less context) (show whitespace changes)
-rw-r--r--Rules.make11
1 files changed, 11 insertions, 0 deletions
diff --git a/Rules.make b/Rules.make
index 5fd8d90..d4ccf44 100644
--- a/Rules.make
+++ b/Rules.make
@@ -17,8 +17,19 @@ 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 \} >> $@
+else
+ echo contains\( CONFIG, quick-app \) \{ >> $@
+ echo CONFIG -= quick-app >> $@
+ echo CONFIG += quick-app-bin >> $@
+ echo \} >> $@
+endif
$(TOPDIR)/.depends : $(shell if [ -e $(TOPDIR)/config.in ]\; then echo $(TOPDIR)/config.in\; fi\;) $(TOPDIR)/.config $(TOPDIR)/packages
@echo Generating dependency information...
# add to subdir-y, and add descend rules