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:
@@ -71,7 +71,7 @@ docdir = $(datarootdir)/doc/epanet
|
|||||||
# Compiler and flags
|
# Compiler and flags
|
||||||
CC = /bin/gcc
|
CC = /bin/gcc
|
||||||
dlltool = /bin/dlltool
|
dlltool = /bin/dlltool
|
||||||
CFLAGS = -g -O
|
CFLAGS = -g -O3
|
||||||
CPPFLAGS = -I $(srcdir) -I $(epanetincludedir)
|
CPPFLAGS = -I $(srcdir) -I $(epanetincludedir)
|
||||||
LDFLAGS = -L . -W1,-rpath,$(libdir) -lm
|
LDFLAGS = -L . -W1,-rpath,$(libdir) -lm
|
||||||
|
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ docdir = $(datarootdir)/doc/epanet
|
|||||||
|
|
||||||
# Compiler and flags
|
# Compiler and flags
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CFLAGS = -g -O -fPIC
|
CFLAGS = -g -O3 -fPIC
|
||||||
CPPFLAGS = -I $(epanetincludedir)
|
CPPFLAGS = -I $(epanetincludedir)
|
||||||
LDFLAGS = -L . -W1,-rpath,$(libdir) -lm
|
LDFLAGS = -L . -W1,-rpath,$(libdir) -lm
|
||||||
|
|
||||||
|
|||||||
@@ -165,6 +165,8 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
|
Description="Installing Library Files..."
|
||||||
|
CommandLine="copy .\Release\epanet2.dll "%HOME%"\bin
copy .\Release\epanet2.lib "%HOME%"\lib"
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
</Configurations>
|
</Configurations>
|
||||||
|
|||||||
@@ -167,6 +167,8 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
|
Description="Installing Executable file..."
|
||||||
|
CommandLine="copy .\Release\epanet2.exe "%HOME%"\bin
"
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
</Configurations>
|
</Configurations>
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ docdir = $(datarootdir)/doc/epanet
|
|||||||
# MinGW gcc
|
# MinGW gcc
|
||||||
CC = $(MinGWdir)/bin/gcc
|
CC = $(MinGWdir)/bin/gcc
|
||||||
dlltool = $(MinGWdir)/bin/dlltool
|
dlltool = $(MinGWdir)/bin/dlltool
|
||||||
CFLAGS = -g -O
|
CFLAGS = -g -O3
|
||||||
CPPFLAGS = -I $(srcdir) -I $(epanetincludedir)
|
CPPFLAGS = -I $(srcdir) -I $(epanetincludedir)
|
||||||
LDFLAGS = -L . -W1,-rpath,$(libdir) -lm
|
LDFLAGS = -L . -W1,-rpath,$(libdir) -lm
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user