comparison Makefile @ 48:200ec310660a

Begin revamp of the buildsystem, don't use qmake anymore.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 07 Apr 2017 05:11:40 +0300
parents
children 402446a76794
comparison
equal deleted inserted replaced
47:08c0d5116e82 48:200ec310660a
1 #
2 # Configuration settings for Linux and generic UNIX
3 # See other Makefile.* files for more options.
4 #
5
6 # Miscellaneous
7 QT5_PREFIX =
8 BINTOOL_PREFIX =
9 PREFIX = /usr/local
10 BINPATH = ./
11 OBJPATH = obj/unix/
12 EXEEXT =
13
14 # Compiler flags and linker flags
15 DEFINES = -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB
16 INCPATH = -I. \
17 -I/usr/include/x86_64-linux-gnu/qt5 \
18 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets \
19 -I/usr/include/x86_64-linux-gnu/qt5/QtGui \
20 -I/usr/include/x86_64-linux-gnu/qt5/QtSql \
21 -I/usr/include/x86_64-linux-gnu/qt5/QtCore \
22 -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64
23
24 QT_RCC = rcc
25
26 QT_MOC = moc
27 QT_MOC_FLAGS =
28
29 QT_UIC = uic
30 QT_UIC_FLAGS =
31
32 CFLAGS += -pipe -O2 -Wall -W -D_REENTRANT -fPIC
33 CXXFLAGS += -pipe -O2 -Wall -W -D_REENTRANT -fPIC
34 LDFLAGS += -Wl,-O1
35 LIBS += -L/usr/X11R6/lib64 -lQt5Widgets -lQt5Gui -lQt5Sql -lQt5Core -lGL -lpthread
36
37
38 include Makefile.gen