forked from open-hpi/openhpi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.mingw32.def
30 lines (23 loc) · 1.09 KB
/
Makefile.mingw32.def
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
############################################################################
ARCH := x86
#ARCH := amd64
VERSION := 4.0.0
# This is for resource compiler
BINARY_VERSION := 4,0,0,0
############################################################################
TOOLCHAIN_PATH := /home/avpak/usr/cross/mingw32
CC := ${TOOLCHAIN_PATH}/bin/i386-mingw32-gcc
CXX := ${TOOLCHAIN_PATH}/bin/i386-mingw32-g++
AS := ${TOOLCHAIN_PATH}/bin/i386-mingw32-as
RC := ${TOOLCHAIN_PATH}/bin/i386-mingw32-windres
GLIB_DIR := /home/avpak/usr/cross/mingw32/i386-mingw32/glib-2.0
GLIB_INCLUDES := -I ${GLIB_DIR}/include/glib-2.0 -I ${GLIB_DIR}/lib/glib-2.0/include
GLIB_LIBS := -L ${GLIB_DIR}/lib -lglib-2.0
GTHREAD_LIBS := -L ${GLIB_DIR}/lib -lgthread-2.0
GMODULE_LIBS := -L ${GLIB_DIR}/lib -lgmodule-2.0
############################################################################
CPPFLAGS := -DVERSION=\"${VERSION}\" -D_WIN32_WINNT=0x0501 -DOH_DBG_MSGS
RCFLAGS := -DVERSION=\"${VERSION}\" -DBINARY_VERSION=${BINARY_VERSION} --use-temp-file
CFLAGS := -Wall
CXXFLAGS := -Wall
LDFLAGS := -no-undefined --enable-runtime-pseudo-reloc