From e058ccc8c41d021d5c7cb222abfcb5591f13c942 Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Thu, 23 Aug 2001 20:32:25 +0000 Subject: improved PROJ_LIB handling git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@977 4e78687f-474d-0410-85f9-8d5e500ac6b2 --- src/makefile.vc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3