annotate Makefile @ 50:402446a76794

And more build system work.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 07 Apr 2017 06:04:07 +0300
parents 200ec310660a
children 1ac8fdd932b3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
50
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
1 ###
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
2 ### Configuration settings for Linux and generic UNIX
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
3 ### See other Makefile.* files for more options.
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
4 ###
48
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
5
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
6 # Miscellaneous
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
7 QT5_PREFIX =
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
8 BINTOOL_PREFIX =
50
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
9
48
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
10 PREFIX = /usr/local
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11 BINPATH = ./
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
12 OBJPATH = obj/unix/
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
13 EXEEXT =
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
14
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
15 # Compiler flags and linker flags
50
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
16 DEFINES =
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
17 INCPATH = -I. `pkg-config --cflags Qt5Core Qt5Gui Qt5Widgets Qt5Sql`
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
18
48
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
19
50
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
20 CFLAGS += -pipe -O2 -Wall -W -D_REENTRANT -fPIC
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
21 CXXFLAGS += -pipe -O2 -Wall -W -D_REENTRANT -fPIC
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
22 LDFLAGS += -Wl,-O1
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
23 LIBS += `pkg-config --libs Qt5Core Qt5Gui Qt5Widgets Qt5Sql`
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
24
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
25 APP_DEPS =
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
26
402446a76794 And more build system work.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
27 # Qt tools
48
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
28 QT_RCC = rcc
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
29
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
30 QT_MOC = moc
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
31 QT_MOC_FLAGS =
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
32
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
33 QT_UIC = uic
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
34 QT_UIC_FLAGS =
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
35
200ec310660a Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
36 include Makefile.gen