Makefile.MINGW32_NT-5.1
author 'Gr?gory Tr?lat <gregory.trelat@lolitech.fr>'
Fri, 10 Jul 2009 11:41:29 +0200
changeset 198 f68ef6f05e17
parent 148 912bdab1eca8
child 279 c0453b7f99df
permissions -rw-r--r--
prevent eclipse to push .project with .hgignore
148
912bdab1eca8 add Makefile for the mingw toolchain on win32
greg
parents:
diff changeset
     1
#CXX = i686-mingw32-c++ 
912bdab1eca8 add Makefile for the mingw toolchain on win32
greg
parents:
diff changeset
     2
CXX = g++
912bdab1eca8 add Makefile for the mingw toolchain on win32
greg
parents:
diff changeset
     3
912bdab1eca8 add Makefile for the mingw toolchain on win32
greg
parents:
diff changeset
     4
#get warnings, debugging information and optimization
912bdab1eca8 add Makefile for the mingw toolchain on win32
greg
parents:
diff changeset
     5
CFLAGS  = -Wall -pedantic -Wpointer-arith -Wwrite-strings
912bdab1eca8 add Makefile for the mingw toolchain on win32
greg
parents:
diff changeset
     6
# CFLAGS += -Werror
912bdab1eca8 add Makefile for the mingw toolchain on win32
greg
parents:
diff changeset
     7
CFLAGS += -ggdb
912bdab1eca8 add Makefile for the mingw toolchain on win32
greg
parents:
diff changeset
     8
#CFLAGS += -O3 -funroll-loops
912bdab1eca8 add Makefile for the mingw toolchain on win32
greg
parents:
diff changeset
     9
# Note: if the optimizer crashes, we'll leave out the -O3 for those files
912bdab1eca8 add Makefile for the mingw toolchain on win32
greg
parents:
diff changeset
    10
912bdab1eca8 add Makefile for the mingw toolchain on win32
greg
parents:
diff changeset
    11
#get warnings, debugging information and optimization
912bdab1eca8 add Makefile for the mingw toolchain on win32
greg
parents:
diff changeset
    12
#CXXFLAGS  = -Wall -pedantic -Wpointer-arith -Wwrite-strings
912bdab1eca8 add Makefile for the mingw toolchain on win32
greg
parents:
diff changeset
    13
#CXXFLAGS += -ggdb
912bdab1eca8 add Makefile for the mingw toolchain on win32
greg
parents:
diff changeset
    14
#CXXFLAGS += -O3 -funroll-loops
912bdab1eca8 add Makefile for the mingw toolchain on win32
greg
parents:
diff changeset
    15
CXXFLAGS  = $(CFLAGS)
912bdab1eca8 add Makefile for the mingw toolchain on win32
greg
parents:
diff changeset
    16
912bdab1eca8 add Makefile for the mingw toolchain on win32
greg
parents:
diff changeset
    17
IECLIBDIR=lib