Mercurial > hg > syntilista
annotate Makefile @ 310:8541509ff8a0 default tip
Fix verbose build echos.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 29 Feb 2024 21:49:20 +0200 |
parents | 18bef142108d |
children |
rev | line source |
---|---|
50 | 1 ### |
2 ### Configuration settings for Linux and generic UNIX | |
309
18bef142108d
Rename Makefile.gen to Makefile.common
Matti Hamalainen <ccr@tnsp.org>
parents:
302
diff
changeset
|
3 ### See other Makefile.common etc files for more options. |
50 | 4 ### |
48
200ec310660a
Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
5 |
294
10748e9d54c4
Add Makefile parameter QT6=x to build for Qt6.
Matti Hamalainen <ccr@tnsp.org>
parents:
290
diff
changeset
|
6 QT_VERSION_PREFIX = Qt6 |
10748e9d54c4
Add Makefile parameter QT6=x to build for Qt6.
Matti Hamalainen <ccr@tnsp.org>
parents:
290
diff
changeset
|
7 QT_TOOL_PREFIX = /usr/lib/qt6/libexec/ |
302
52f0da883469
Remove Qt5 support, cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents:
301
diff
changeset
|
8 |
48
200ec310660a
Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
9 BINTOOL_PREFIX = |
200ec310660a
Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
10 BINPATH = ./ |
200ec310660a
Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
11 OBJPATH = obj/unix/ |
263
f0e180b13e05
More build system improvements.
Matti Hamalainen <ccr@tnsp.org>
parents:
258
diff
changeset
|
12 BINEXT = |
48
200ec310660a
Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
13 |
302
52f0da883469
Remove Qt5 support, cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents:
301
diff
changeset
|
14 # Compiler flags and linker flags |
52f0da883469
Remove Qt5 support, cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents:
301
diff
changeset
|
15 QT_INCLUDES = -I. \ |
52f0da883469
Remove Qt5 support, cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents:
301
diff
changeset
|
16 $(shell pkg-config --cflags $(addprefix $(QT_VERSION_PREFIX),$(QT_MODULES))) |
290
755fe3f8c08f
Minor build system cleanups in preparation for Qt6 support.
Matti Hamalainen <ccr@tnsp.org>
parents:
282
diff
changeset
|
17 |
302
52f0da883469
Remove Qt5 support, cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents:
301
diff
changeset
|
18 XCFLAGS += -D_REENTRANT -fPIC |
52f0da883469
Remove Qt5 support, cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents:
301
diff
changeset
|
19 XLDFLAGS += -Wl,-O1 |
50 | 20 |
282
f05e9c74a022
Add QT_VERSION_PREFIX Makefile variable.
Matti Hamalainen <ccr@tnsp.org>
parents:
281
diff
changeset
|
21 APP_LIBS += $(shell pkg-config --libs $(addprefix $(QT_VERSION_PREFIX),$(QT_MODULES))) |
52 | 22 APP_DEP_LIBS = |
50 | 23 APP_DEPS = |
24 | |
25 # Qt tools | |
48
200ec310660a
Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
26 QT_MOC_FLAGS = |
290
755fe3f8c08f
Minor build system cleanups in preparation for Qt6 support.
Matti Hamalainen <ccr@tnsp.org>
parents:
282
diff
changeset
|
27 QT_MOC_RULES = |
48
200ec310660a
Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
28 QT_UIC_FLAGS = |
200ec310660a
Begin revamp of the buildsystem, don't use qmake anymore.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
29 |
309
18bef142108d
Rename Makefile.gen to Makefile.common
Matti Hamalainen <ccr@tnsp.org>
parents:
302
diff
changeset
|
30 include Makefile.common |