aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrank Warmerdam <warmerdam@pobox.com>2002-12-09 17:30:28 +0000
committerFrank Warmerdam <warmerdam@pobox.com>2002-12-09 17:30:28 +0000
commit359687032277a11b5a613504438fb44fb653c50f (patch)
treef0b9143087e37d0ab40e5999859bafdf5e35abda /src
parent8b576c9aea4608d37b982388f19a15b70f1c2c4f (diff)
downloadPROJ-359687032277a11b5a613504438fb44fb653c50f.tar.gz
PROJ-359687032277a11b5a613504438fb44fb653c50f.zip
added OPTFLAGS control
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1043 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'src')
-rw-r--r--src/makefile.vc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/makefile.vc b/src/makefile.vc
index 96ee16a3..d5384e0b 100644
--- a/src/makefile.vc
+++ b/src/makefile.vc
@@ -7,6 +7,10 @@
#
PROJ_LIB_DIR=C:/PROJ/NAD
+# Uncomment the first for an optimized build, or the second for debug.
+OPTFLAGS= /nologo /Ox
+#OPTFLAGS= /nologo /Zi /Fdproj.pdb
+
azimuthal = \
PJ_aeqd.obj PJ_gnom.obj PJ_laea.obj PJ_mod_ster.obj \
PJ_nsper.obj PJ_nzmg.obj PJ_ortho.obj PJ_stere.obj
@@ -57,7 +61,7 @@ LIBOBJ = $(support) $(pseudo) $(azimuthal) $(conic) $(cylinder) $(misc)
PROJEXE_OBJ = proj.obj gen_cheb.obj p_series.obj emess.obj
CS2CSEXE_OBJ = cs2cs.obj gen_cheb.obj p_series.obj emess.obj
GEODEXE_OBJ = geod.obj geod_set.obj geod_for.obj geod_inv.obj emess.obj
-CFLAGS = /nologo -I. -DPROJ_LIB=\"$(PROJ_LIB_DIR)\"
+CFLAGS = /nologo -I. -DPROJ_LIB=\"$(PROJ_LIB_DIR)\" $(OPTFLAGS)
default: all