Mercurial > HandyFTP
changeset 110:8a243285b481
Try to pull the target platform from the Visual C build environment.
author | Brian Smith <brian@dbsoft.org> |
---|---|
date | Thu, 20 Jun 2019 18:51:22 -0500 |
parents | e105a4f6bf92 |
children | edcbacb6c8dd |
files | src/makefile.vc |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/makefile.vc Tue Oct 06 01:49:33 2015 -0500 +++ b/src/makefile.vc Thu Jun 20 18:51:22 2019 -0500 @@ -12,7 +12,11 @@ # Default to x86 if not specified # !if "$(TARGET_CPU)" == "" +!if "$(VSCMD_ARG_TGT_ARCH)" == "" TARGET_CPU=x86 +!else +TARGET_CPU=$(VSCMD_ARG_TGT_ARCH) +!endif !endif !if "$(TARGET_CPU)" == "x86"