mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-24 04:07:55 +01:00
22 lines
535 B
Makefile
22 lines
535 B
Makefile
#-*- mode: makefile; tab-width: 4; -*-
|
|
#
|
|
|
|
TEMPLATE = subdirs
|
|
|
|
SUBDIRS = src doc
|
|
|
|
DOLLAR = $
|
|
|
|
tests.commands = for directory in `find . -name unit_tests`; \
|
|
do \
|
|
home=`pwd`; \
|
|
echo; \
|
|
echo "Running test in "$${DOLLAR}$${DOLLAR}directory; \
|
|
cd $${DOLLAR}$${DOLLAR}directory; \
|
|
qmake; \
|
|
make run; \
|
|
cd $${DOLLAR}$${DOLLAR}home; \
|
|
done
|
|
|
|
QMAKE_EXTRA_TARGETS += tests
|