Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/global_win32.mak
diff options
context:
space:
mode:
authorBruno Coudoin <bcoudoin@src.gnome.org>2005-05-15 14:25:30 (GMT)
committer Bruno Coudoin <bcoudoin@src.gnome.org>2005-05-15 14:25:30 (GMT)
commit16302d020164e57d50870328f1ac9cf9139db42d (patch)
treefc499dac0476ba6e034f5044d9ae2841e127b797 /global_win32.mak
parent8faf7abe832b1e69cef7cd0d39b8afc4f6c42764 (diff)
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
Diffstat (limited to 'global_win32.mak')
-rw-r--r--global_win32.mak23
1 files changed, 23 insertions, 0 deletions
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