TEMPLATE = subdirs SUBDIRS += \ ptsocket contains (DEFINES, PT_DEBUG) { SUBDIRS += tests }