# 2 - build warnings
# 3 - execution output
# 4 - build commands
-VERBOSE=${VERBOSE:-1}
+VERBOSE=${VERBOSE:-3}
CC=gcc
#FIXME: -Ibertos/emul should not be needed
CXX=g++
CXXFLAGS="$CFLAGS"
-TESTS=${TESTS:-`find . \
+TESTS?=${TESTS:-`find . \
\( -name .svn -prune -o -name .git -prune -o -name .hg -prune \) \
-o -name "*_test.c" -print` }
datadir = DATA_DIR
qrc, rcc = os.path.join(datadir, 'bertos.qrc'), os.path.join(datadir, 'bertos.rcc')
if not (hasattr(sys, "frozen") and sys.frozen) and newer(qrc, rcc):
- os.system("rcc -binary %s -o %s" %(qrc, rcc))
+ os.system("rcc -binary \"%s\" -o \"%s\"" %(qrc, rcc))
QResource.registerResource(rcc)
if len(sys.argv) == 3 and sys.argv[1] == "--edit":
editProject(os.path.abspath(sys.argv[2]))