TEMPLATE = app CONFIG += console CONFIG -= app_bundle CONFIG -= qt QMAKE_LIBDIR += $$[QT_SYSROOT]/usr/lib/gfa QMAKE_RPATHDIR += /usr/lib/gfa CONFIG(debug, debug|release) { QMAKE_CXXFLAGS -= -Os QMAKE_CFLAGS -= -Os QMAKE_CXXFLAGS += -D_DEBUG QMAKE_CFLAGS += -D_DEBUG QMAKE_LIBS += -lgfamininetd } CONFIG(release, debug|release) { QMAKE_LIBS += -lgfamininet } linux-buildroot-g++ { QMAKE_CXXFLAGS += -D_TARGET_BUILD QMAKE_CFLAGS += -D_TARGET_BUILD target.path += /opt/GfA/bin INSTALLS += target } linux-g++ { CONFIG(release, debug|release) { target.path += /opt/GfA/bin INSTALLS += target } tagNames.commands = $$_PRO_FILE_PWD_/src/tagnames.h tagNames.target = ../gfaqmlplugins/gfativaflashplugin/src tagNames.extra = @echo copying tagnames.h ... INSTALLS += tagNames } SOURCES += \ src/main.c \ src/image.c \ src/cmdopt.c \ src/error.c \ src/output.c \ src/modbmst.c HEADERS += \ src/main.h \ src/image.h \ src/cmdopt.h \ src/error.h \ src/output.h \ src/modbmst.h \ src/tagnames.h