view Makefile @ 150:2a8c97753381

Make the backup stuff compile-time optional.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 28 Aug 2017 11:24:42 +0300
parents 36c9cb759326
children 87dfca9f704d
line wrap: on
line source

###
### Configuration settings for Linux and generic UNIX
### See other Makefile.* files for more options.
###
USE_QTHTTP ?= yes


# Miscellaneous
QT5_MODULES = Core Gui Widgets Sql PrintSupport
QT5_PREFIX = 
BINTOOL_PREFIX =

PREFIX = /usr/local
BINPATH = ./
OBJPATH = obj/unix/
EXEEXT =

# Compiler flags and linker flags
ifeq ($(USE_QTHTTP),yes)
QT5_MODULES += Network
DEFINES += -DUSE_QTHTTP
endif
DEFINES += 
INCPATH = -I. `pkg-config --cflags $(addprefix Qt5,$(QT5_MODULES))`

CFLAGS += -pipe -O2 -Wall -W -D_REENTRANT -fPIC
CXXFLAGS += -pipe -O2 -Wall -W -D_REENTRANT -fPIC
LDFLAGS += -Wl,-O1

APP_LIBS += `pkg-config --libs $(addprefix Qt5,$(QT5_MODULES))`
APP_DEP_LIBS = 
APP_DEPS = 

# Qt tools
QT_RCC = rcc

QT_MOC = moc
QT_MOC_FLAGS =

QT_UIC = uic
QT_UIC_FLAGS =

include Makefile.gen