Makefile.Linux
author Mario de Sousa <msousa@fe.up.pt>
Mon, 04 Apr 2011 15:22:42 +0100
changeset 275 af3d0e3ac65d
parent 209 30cbae46190d
child 279 c0453b7f99df
permissions -rwxr-xr-x
Leave standard function names hardcoded, as these are considered keywords even though
they may not be implemented in the library.
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
209
30cbae46190d Remove -pedantic flag to CFLAGS to allow unsigned long long to be compiled
laurent
parents: 99
diff changeset
     5
CFLAGS  = -Wall -Wpointer-arith -Wwrite-strings
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
     6
# CFLAGS += -Werror
99
546b9d5b2ff9 aligned CXXFLAGS with CFLAGS
etisserant
parents: 54
diff changeset
     7
CFLAGS += -ggdb
546b9d5b2ff9 aligned CXXFLAGS with CFLAGS
etisserant
parents: 54
diff changeset
     8
#CFLAGS += -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
     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
99
546b9d5b2ff9 aligned CXXFLAGS with CFLAGS
etisserant
parents: 54
diff changeset
    12
#CXXFLAGS  = -Wall -pedantic -Wpointer-arith -Wwrite-strings
546b9d5b2ff9 aligned CXXFLAGS with CFLAGS
etisserant
parents: 54
diff changeset
    13
#CXXFLAGS += -ggdb
54
66925599259a Updated Makefile to allow compilation with mingw32
etisserant
parents: 40
diff changeset
    14
#CXXFLAGS += -O3 -funroll-loops
99
546b9d5b2ff9 aligned CXXFLAGS with CFLAGS
etisserant
parents: 54
diff changeset
    15
CXXFLAGS  = $(CFLAGS)
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
    16
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
    17
IECLIBDIR=lib