Mercurial > hg > syntilista
diff 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 diff
--- a/Makefile Mon Aug 28 11:11:16 2017 +0300 +++ b/Makefile Mon Aug 28 11:24:42 2017 +0300 @@ -2,9 +2,11 @@ ### 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 Network +QT5_MODULES = Core Gui Widgets Sql PrintSupport QT5_PREFIX = BINTOOL_PREFIX = @@ -14,7 +16,11 @@ EXEEXT = # Compiler flags and linker flags -DEFINES = +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