summaryrefslogtreecommitdiff
path: root/makeminidawg
diff options
context:
space:
mode:
authorMatt Liberty <matt.liberty@gmail.com>2013-10-25 06:39:45 -0700
committerMatt Liberty <matt.liberty@gmail.com>2013-10-25 06:39:45 -0700
commitd06baaaa1d252b88592fd91a318bbd52d8de508d (patch)
tree7d2e57bd218a4d4c9ae8a087dcfc2237d268464d /makeminidawg
parent5567c9bfd60e059de83be1a4d8dfe5ba976a06ea (diff)
Clean up build of minor executables to use proper paths and obj subdirs
Diffstat (limited to 'makeminidawg')
-rw-r--r--makeminidawg/makeminidawg.pro14
1 files changed, 9 insertions, 5 deletions
diff --git a/makeminidawg/makeminidawg.pro b/makeminidawg/makeminidawg.pro
index d58266d..9288b92 100644
--- a/makeminidawg/makeminidawg.pro
+++ b/makeminidawg/makeminidawg.pro
@@ -4,19 +4,23 @@ INCLUDEPATH += . ..
# enable/disable debug symbols
# CONFIG += debug
+CONFIG += release
CONFIG += console
CONFIG -= x11
-build_pass:CONFIG(debug, debug|release) {
- LIBS += -L../debug -L../quackleio/debug
+debug {
+ OBJECTS_DIR = obj/debug
}
-build_pass:CONFIG(release, debug|release) {
- LIBS += -L../release -L../quackleio/release
+release {
+ OBJECTS_DIR = obj/release
}
-LIBS += -L.. -L../quackleio -lquackle -lquackleio
+LIBS += -lquackle -lquackleio
+
+QMAKE_LFLAGS_RELEASE += -L../lib/release -L../quackleio/lib/release
+QMAKE_LFLAGS_DEBUG += -L../lib/debug -L../quackleio/lib/debug
# Input
HEADERS += minidawgmaker.h