config.mk (639B)
1 # limestone version 2 VERSION = 0.2 3 4 # Customize below to fit your system 5 6 # paths 7 PREFIX = /usr/local 8 MANPREFIX = ${PREFIX}/share/man 9 10 # includes and libs 11 INCS = -I. -I/usr/include -I/usr/include/qt5 \ 12 -I/usr/include/qt5/QtWidgets \ 13 -I/usr/include/qt5/QtCore \ 14 -I/usr/include/qt5/QtGui 15 LIBS = -L/usr/lib -L/usr/lib64 \ 16 -lmarblewidget-qt5 -lQt5Core -lQt5Gui -lQt5Widgets \ 17 -lstdc++ 18 # flags 19 CPPFLAGS = -DVERSION=\"${VERSION}\" -DQT_NO_DEBUG -DQT_GUI_LIB \ 20 -DQT_CORE_LIB -DQT_SHARED 21 CFLAGS += -g -O2 -pipe -fPIC -Wall ${INCS} ${CPPFLAGS} 22 LDFLAGS += -g ${LIBS} 23 24 # compiler and linker 25 CC ?= c++ 26 LD ?= ld 27