Mercurial > hg > syntilista
view Makefile.cross-mingw-win32 @ 250:504aee094514 rel-0_9_5
Bump version.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 08 May 2018 13:29:54 +0300 |
parents | 6a12c82d082e |
children | 2bb7ae9816bb |
line wrap: on
line source
### ### For win32 version cross-compilation with MinGW suite @ Linux ### USE_QTHTTP ?= yes # Miscellaneous QT5_MODULES = Core Gui Widgets Sql PrintSupport QT5_PREFIX ?= /misc/packages/qt5-src QT5_BASE ?= $(QT5_PREFIX)/qtbase BINTOOL_PREFIX ?= i686-w64-mingw32- PREFIX = BINPATH = win32/ OBJPATH = obj/win32/ EXEEXT = .exe # Compiler flags and linker flags DEFINES = -DUNICODE -DQT_NEEDS_QMAIN ifeq ($(USE_QTHTTP),yes) QT5_MODULES += Network DEFINES += -DUSE_QTHTTP endif INCPATH = -I. \ -I$(QT5_BASE)/include \ $(addprefix -I$(QT5_BASE)/include/Qt,$(QT5_MODULES)) \ -I$(QT5_MULTIMEDIA)/include \ -I$(QT5_BASE)/mkspecs/win32-g++ CFLAGS += -pipe -fno-keep-inline-dllexport CXXFLAGS += -pipe -fno-keep-inline-dllexport -frtti -fexceptions -mthreads LDFLAGS += -Wl,-s -Wl,-subsystem,windows -mthreads APP_LIBS = -lglu32 -lopengl32 -lgdi32 -luser32 -lmingw32 \ -L$(QT5_BASE)/lib \ $(QT5_BASE)/lib/libqtmain.a \ $(addsuffix .a,$(addprefix $(QT5_BASE)/lib/libQt5,$(QT5_MODULES))) APP_DEP_LIBS = $(OBJPATH)winres.o APP_DEPS = # Qt tools QT_RCC = $(QT5_BASE)/bin/rcc QT_MOC = $(QT5_BASE)/bin/moc QT_MOC_FLAGS = --include moc_predefs.h QT_MOC_RULES = moc_predefs.h QT_UIC = $(QT5_BASE)/bin/uic QT_UIC_FLAGS = CLEAN_TARGETS += moc_predefs.h src/winres.rc include Makefile.gen