aboutsummaryrefslogtreecommitdiff
path: root/src/makefile.vc
diff options
context:
space:
mode:
authorFrank Warmerdam <warmerdam@pobox.com>2001-08-23 20:32:25 +0000
committerFrank Warmerdam <warmerdam@pobox.com>2001-08-23 20:32:25 +0000
commite058ccc8c41d021d5c7cb222abfcb5591f13c942 (patch)
treedfa02e82a9caa66244d74011ca9bd1c6a08ecde0 /src/makefile.vc
parenta6f947f42cd69fc12f2d42ca0b6150d99fe9bb7c (diff)
downloadPROJ-e058ccc8c41d021d5c7cb222abfcb5591f13c942.tar.gz
PROJ-e058ccc8c41d021d5c7cb222abfcb5591f13c942.zip
improved PROJ_LIB handling
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@977 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'src/makefile.vc')
-rw-r--r--src/makefile.vc11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/makefile.vc b/src/makefile.vc
index 253eb352..00eb2493 100644
--- a/src/makefile.vc
+++ b/src/makefile.vc
@@ -1,3 +1,12 @@
+#
+# Set the following to the directory where the PROJ distribution
+# data files (ie, the contents of ..\NAD). The following assumes
+# the PROJ distribution is unpacked as C:\PROJ, which generally must
+# be adjusted. It is also possible to leave this, and define the
+# PROJ_LIB environment variable to point to the NAD directory.
+#
+PROJ_LIB_DIR=C:/PROJ/NAD
+
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
@@ -48,7 +57,7 @@ LIBOBJ = $(support) $(pseudo) $(azimuthal) $(conic) $(cylinder) $(misc)
PROJEXE_SRC = proj.c gen_cheb.c p_series.c emess.c
CS2CSEXE_SRC = cs2cs.c gen_cheb.c p_series.c emess.c
GEODEXE_SRC = geod.c geod_set.c geod_for.c geod_inv.c emess.c
-CFLAGS = /nologo -I. -DPROJ_LIB=\"C:/PROJ/\"
+CFLAGS = /nologo -I. -DPROJ_LIB=\"$(PROJ_LIB_DIR)\"
default: all