Something like this should work:
QMAKE_EXTRA_TARGETS += other
PRE_TARGETDEPS += other
other.commands = make -f /other/path/Makefile
this will cause it to make -f /other/path/Makefilebe called as part of the make process, and also give you the ability to type make otherto run this command.
Chris source
share