aboutsummaryrefslogtreecommitdiff
path: root/src/makefile.vc
diff options
context:
space:
mode:
Diffstat (limited to 'src/makefile.vc')
-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