diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Fri Apr 07 05:11:40 2017 +0300
@@ -0,0 +1,38 @@
+#
+# Configuration settings for Linux and generic UNIX
+# See other Makefile.* files for more options.
+#
+
+# Miscellaneous
+QT5_PREFIX = 
+BINTOOL_PREFIX =
+PREFIX = /usr/local
+BINPATH = ./
+OBJPATH = obj/unix/
+EXEEXT =
+
+# Compiler flags and linker flags
+DEFINES = -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB
+INCPATH = -I. \
+	-I/usr/include/x86_64-linux-gnu/qt5 \
+	-I/usr/include/x86_64-linux-gnu/qt5/QtWidgets \
+	-I/usr/include/x86_64-linux-gnu/qt5/QtGui \
+	-I/usr/include/x86_64-linux-gnu/qt5/QtSql \
+	-I/usr/include/x86_64-linux-gnu/qt5/QtCore \
+	-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64
+
+QT_RCC = rcc
+
+QT_MOC = moc
+QT_MOC_FLAGS =
+
+QT_UIC = uic
+QT_UIC_FLAGS =
+
+CFLAGS += -pipe -O2 -Wall -W -D_REENTRANT -fPIC
+CXXFLAGS += -pipe -O2 -Wall -W -D_REENTRANT -fPIC
+LDFLAGS += -Wl,-O1
+LIBS += -L/usr/X11R6/lib64 -lQt5Widgets -lQt5Gui -lQt5Sql -lQt5Core -lGL -lpthread
+
+
+include Makefile.gen