diff options
| -rw-r--r-- | README | 5 | ||||
| -rw-r--r-- | src/makefile.vc | 11 |
2 files changed, 14 insertions, 2 deletions
@@ -42,7 +42,10 @@ Windows Build ------------- PROJ.4 can be built with Microsoft Visual C/C++ using the makefile.vc -in the src directory. +in the src directory. First edit the PROJ\SRC\makefile.vc and modify +the PROJ_LIB_DIR value at the top to point to the NAD subdirectory +of wherever you put the PROJ tree. If you unpacked it as C:\PROJ it +can remain unchanged. The use the makefile.vc to build the software: eg. C:\> cd proj\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 |
