Unidiff1 files changed, 11 insertions, 1 deletions
|
|
|
@@ -5,2 +5,12 @@ $(configs) : |
5 | |
5 | |
| |
6 | $(TOPDIR)/gen.pro : $(TOPDIR)/.config |
| |
7 | echo > $@ |
| |
8 | ifneq ($(CONFIG_DEBUG),) |
| |
9 | echo CONFIG += debug >> $@ |
| |
10 | echo CONFIG -= release >> $@ |
| |
11 | else |
| |
12 | echo CONFIG -= debug >> $@ |
| |
13 | echo CONFIG += release >> $@ |
| |
14 | endif |
| |
15 | |
6 | $(TOPDIR)/.depends : $(shell if [ -e $(TOPDIR)/config.in ]\; then echo $(TOPDIR)/config.in\; fi\;) $(TOPDIR)/.config $(TOPDIR)/packages |
16 | $(TOPDIR)/.depends : $(shell if [ -e $(TOPDIR)/config.in ]\; then echo $(TOPDIR)/config.in\; fi\;) $(TOPDIR)/.config $(TOPDIR)/packages |
@@ -14,3 +24,3 @@ $(TOPDIR)/.depends : $(shell if [ -e $(TOPDIR)/config.in ]\; then echo $(TOPDIR) |
14 | cat $(TOPDIR)/packages | grep -v '^#' | \ |
24 | cat $(TOPDIR)/packages | grep -v '^#' | \ |
15 | perl -ne '($$cfg, $$dir, $$pro) = $$_ =~ /^(\S+)\s+(\S+)\s+(\S+)/; if ( -e "$$dir/$$pro" ) { print "$$dir/Makefile : $$dir/$$pro \$$(QMAKE)\n\t\$$(call makefilegen,\$$@)\n\n"; }' \ |
25 | perl -ne '($$cfg, $$dir, $$pro) = $$_ =~ /^(\S+)\s+(\S+)\s+(\S+)/; if ( -e "$$dir/$$pro" ) { print "$$dir/Makefile : $$dir/$$pro \$$(QMAKE) \$$(OPIEDIR)/gen.pro\n\t\$$(call makefilegen,\$$@)\n\n"; }' \ |
16 | >> $(TOPDIR)/.depends |
26 | >> $(TOPDIR)/.depends |
|