1 | #!/bin/sh |
---|
2 | for file in `find @@@WRKSRCPATH@@@ -name '*.pro'`; do |
---|
3 | cat << EOT > ${file}.tmp |
---|
4 | QMAKE_CFLAGS_RELEASE += @@@ARCHS@@@ |
---|
5 | QMAKE_CXXFLAGS_RELEASE += @@@ARCHS@@@ |
---|
6 | QMAKE_LFLAGS_RELEASE += @@@ARCHS@@@ |
---|
7 | EOT |
---|
8 | cat ${file} >> ${file}.tmp |
---|
9 | mv ${file}.tmp ${file} |
---|
10 | done |
---|