Changed EPANET makefiles to use -O3 optimization level.

git-svn-id: https://epanet.svn.sourceforge.net/svnroot/epanet/BASE/trunk@303 c320cabd-cc23-0410-96d8-e60fbf53ed7f
This commit is contained in:
James Uber
2009-08-10 06:59:52 +00:00
parent d95a8273ae
commit c9920ba7db
5 changed files with 7 additions and 3 deletions

View File

@@ -71,7 +71,7 @@ docdir = $(datarootdir)/doc/epanet
# Compiler and flags
CC = /bin/gcc
dlltool = /bin/dlltool
CFLAGS = -g -O
CFLAGS = -g -O3
CPPFLAGS = -I $(srcdir) -I $(epanetincludedir)
LDFLAGS = -L . -W1,-rpath,$(libdir) -lm

View File

@@ -57,7 +57,7 @@ docdir = $(datarootdir)/doc/epanet
# Compiler and flags
CC = gcc
CFLAGS = -g -O -fPIC
CFLAGS = -g -O3 -fPIC
CPPFLAGS = -I $(epanetincludedir)
LDFLAGS = -L . -W1,-rpath,$(libdir) -lm

View File

@@ -165,6 +165,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Installing Library Files..."
CommandLine="copy .\Release\epanet2.dll &quot;%HOME%&quot;\bin&#x0D;&#x0A;copy .\Release\epanet2.lib &quot;%HOME%&quot;\lib"
/>
</Configuration>
</Configurations>

View File

@@ -167,6 +167,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="Installing Executable file..."
CommandLine="copy .\Release\epanet2.exe &quot;%HOME%&quot;\bin&#x0D;&#x0A;"
/>
</Configuration>
</Configurations>

View File

@@ -93,7 +93,7 @@ docdir = $(datarootdir)/doc/epanet
# MinGW gcc
CC = $(MinGWdir)/bin/gcc
dlltool = $(MinGWdir)/bin/dlltool
CFLAGS = -g -O
CFLAGS = -g -O3
CPPFLAGS = -I $(srcdir) -I $(epanetincludedir)
LDFLAGS = -L . -W1,-rpath,$(libdir) -lm