author | Mario de Sousa <msousa@fe.up.pt> |
Mon, 04 Apr 2011 10:48:30 +0100 | |
changeset 268 | 1eba01e3fb70 |
child 279 | c0453b7f99df |
permissions | -rw-r--r-- |
268
1eba01e3fb70
Adding Makefile for Darwin (thanks go to Manuele)
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1 |
#CXX = i686-mingw32-c++ |
1eba01e3fb70
Adding Makefile for Darwin (thanks go to Manuele)
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
2 |
CXX = g++ |
1eba01e3fb70
Adding Makefile for Darwin (thanks go to Manuele)
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
3 |
|
1eba01e3fb70
Adding Makefile for Darwin (thanks go to Manuele)
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
4 |
#get warnings, debugging information and optimization |
1eba01e3fb70
Adding Makefile for Darwin (thanks go to Manuele)
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
5 |
CFLAGS = -Wall -Wpointer-arith -Wwrite-strings |
1eba01e3fb70
Adding Makefile for Darwin (thanks go to Manuele)
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
6 |
# CFLAGS += -Werror |
1eba01e3fb70
Adding Makefile for Darwin (thanks go to Manuele)
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
7 |
CFLAGS += -ggdb |
1eba01e3fb70
Adding Makefile for Darwin (thanks go to Manuele)
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
8 |
#CFLAGS += -O3 -funroll-loops |
1eba01e3fb70
Adding Makefile for Darwin (thanks go to Manuele)
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
9 |
# Note: if the optimizer crashes, we'll leave out the -O3 for those files |
1eba01e3fb70
Adding Makefile for Darwin (thanks go to Manuele)
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
10 |
|
1eba01e3fb70
Adding Makefile for Darwin (thanks go to Manuele)
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
11 |
#get warnings, debugging information and optimization |
1eba01e3fb70
Adding Makefile for Darwin (thanks go to Manuele)
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
12 |
#CXXFLAGS = -Wall -pedantic -Wpointer-arith -Wwrite-strings |
1eba01e3fb70
Adding Makefile for Darwin (thanks go to Manuele)
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
13 |
#CXXFLAGS += -ggdb |
1eba01e3fb70
Adding Makefile for Darwin (thanks go to Manuele)
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
14 |
#CXXFLAGS += -O3 -funroll-loops |
1eba01e3fb70
Adding Makefile for Darwin (thanks go to Manuele)
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
15 |
CXXFLAGS = $(CFLAGS) |
1eba01e3fb70
Adding Makefile for Darwin (thanks go to Manuele)
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
16 |
|
1eba01e3fb70
Adding Makefile for Darwin (thanks go to Manuele)
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
17 |
IECLIBDIR=lib |