mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-19 17:57:22 +01:00
31 lines
831 B
Makefile
31 lines
831 B
Makefile
#-*- mode: makefile; tab-width: 4; -*-
|
|
#
|
|
|
|
TEMPLATE = subdirs
|
|
|
|
SUBDIRS = src doc
|
|
|
|
DOLLAR = $
|
|
|
|
build_tests.commands = cd src/unit_tests; \
|
|
qmake -spec $${DOLLAR}$${DOLLAR}QMAKESPEC && \
|
|
./unit_tests.sh make build_tests; \
|
|
cd -
|
|
build_tests.depends = all
|
|
|
|
run_tests.commands = cd src/unit_tests; \
|
|
qmake -spec $${DOLLAR}$${DOLLAR}QMAKESPEC && \
|
|
./unit_tests.sh make run_tests; \
|
|
cd -
|
|
run_tests.depends = all
|
|
|
|
tests.depends = run_tests
|
|
|
|
clean_tests.commands = cd src/unit_tests; \
|
|
qmake -spec $${DOLLAR}$${DOLLAR}QMAKESPEC && \
|
|
./unit_tests.sh make clean_tests; \
|
|
cd -
|
|
|
|
QMAKE_EXTRA_TARGETS += build_tests run_tests clean_tests tests
|
|
|