1!include(../qtpass.pri) { error("Couldn't find the qtpass.pri file!") }
2
3TEMPLATE   = app
4QT        += core gui
5
6CONFIG += c++11
7LIBS = -L"$$OUT_PWD/../src/$(OBJECTS_DIR)" -lqtpass $$LIBS
8clang|gcc:PRE_TARGETDEPS += "$$OUT_PWD/../src/$(OBJECTS_DIR)/libqtpass.a"
9
10INCLUDEPATH += ../src
11
12macx {
13    TARGET = QtPass
14} else {
15    TARGET = qtpass
16}
17
18SOURCES   += main.cpp
19
20isEmpty(PREFIX) {
21 PREFIX = $$(PREFIX)
22}
23
24isEmpty(PREFIX) {
25 PREFIX = /usr/local
26}
27target.path = $$PREFIX/bin/
28
29INSTALLS += target
30