From 16302d020164e57d50870328f1ac9cf9139db42d Mon Sep 17 00:00:00 2001 From: Bruno Coudoin Date: Sun, 15 May 2005 14:25:30 +0000 Subject: needed to compile on windows windows installer data file for null soft * Makefile.mingw: needed to compile on windows * gcompris-installer.nsi: windows installer data file for null soft installer * global_win32.mak: to compile on windows --- (limited to 'global_win32.mak') diff --git a/global_win32.mak b/global_win32.mak new file mode 100644 index 0000000..e89b263 --- /dev/null +++ b/global_win32.mak @@ -0,0 +1,23 @@ +# +# global.mak +# +# This file should be included by all Makefile.mingw files for project +# wide definitions. +# + +CC = gcc.exe + +# Use -g flag when building debug version of Gcompris (including plugins). +# Use -fnative-struct instead of -mms-bitfields when using mingw 1.1 +# (gcc 2.95) +#CFLAGS += -O2 -Wall -mno-cygwin -mms-bitfields +CFLAGS += -g -Wall -mno-cygwin -mms-bitfields + +# If not specified, dlls are built with the default base address of 0x10000000. +# When loaded into a process address space a dll will be rebased if its base +# address colides with the base address of an existing dll. To avoid rebasing +# we do the following. Rebasing can slow down the load time of dlls and it +# also renders debug info useless. +DLL_LD_FLAGS += -Wl,--enable-auto-image-base + +DEFINES += -DHAVE_CONFIG_H -- cgit v0.9.1