Makefile.Linux
author etisserant
Tue, 28 Aug 2007 08:42:54 +0200
changeset 54 66925599259a
parent 40 873a5b60a7ea
child 99 546b9d5b2ff9
permissions -rw-r--r--
Updated Makefile to allow compilation with mingw32
54
66925599259a Updated Makefile to allow compilation with mingw32
etisserant
parents: 40
diff changeset
     1
#CXX = i686-mingw32-c++ 
66925599259a Updated Makefile to allow compilation with mingw32
etisserant
parents: 40
diff changeset
     2
CXX = g++ 
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents:
diff changeset
     3
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents:
diff changeset
     4
#get warnings, debugging information and optimization
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents:
diff changeset
     5
CFLAGS  = -Wall -pedantic -Wpointer-arith -Wwrite-strings
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents:
diff changeset
     6
# CFLAGS += -Werror
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents:
diff changeset
     7
#CFLAGS += -ggdb -O3 -funroll-loops
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents:
diff changeset
     8
CFLAGS += -O3 -funroll-loops
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents:
diff changeset
     9
# Note: if the optimizer crashes, we'll leave out the -O3 for those files
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents:
diff changeset
    10
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents:
diff changeset
    11
#get warnings, debugging information and optimization
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents:
diff changeset
    12
CXXFLAGS  = -Wall -pedantic -Wpointer-arith -Wwrite-strings
54
66925599259a Updated Makefile to allow compilation with mingw32
etisserant
parents: 40
diff changeset
    13
CXXFLAGS += -ggdb
66925599259a Updated Makefile to allow compilation with mingw32
etisserant
parents: 40
diff changeset
    14
#CXXFLAGS += -O3 -funroll-loops
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents:
diff changeset
    15
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents:
diff changeset
    16
IECLIBDIR=lib