From 860686e001876235c0e4df17ce3887f4b7c26122 Mon Sep 17 00:00:00 2001 From: ithilgore Date: Sat, 8 Aug 2009 01:33:21 +0000 Subject: [PATCH] Changed the Makefile default paths according to the discussion here: http://seclists.org/nmap-dev/2009/q3/0449.html Unfortunately, it seems cygwin doesn't know how to expand a variable like %ProgramFiles% so that the Makefile would be locale-agnostic, so I just modified it for the most common version of "Program Files". --- mswin32/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mswin32/Makefile b/mswin32/Makefile index df4f90845..ac642c94a 100644 --- a/mswin32/Makefile +++ b/mswin32/Makefile @@ -1,5 +1,5 @@ -MAKENSIS="/c/apps/NSIS/makensis.exe" -VCEXPRESS="/c/Program Files/Microsoft Visual Studio 9.0/Common7/IDE/VCExpress.exe" +MAKENSIS="/cygdrive/c/Program Files/NSIS/makensis.exe" +VCEXPRESS="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/Common7/IDE/VCExpress.exe" export NMAP_VERSION := $(shell grep '^\#[ \t]*define[ \t]\+NMAP_VERSION' ../nmap.h | sed -e 's/.*"\(.*\)".*/\1/' -e 'q') export NMAP_NUM_VERSION := $(shell grep '^\#[ \t]*define[ \t]\+NMAP_NUM_VERSION' ../nmap.h | sed -e 's/.*"\(.*\)".*/\1/' -e 'q') COMMA_VERSION=$(shell echo $(NMAP_NUM_VERSION) | tr '.' ',')