From b00d33ed035fcfa0ad42609f2dd7c554f542e2db Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Tue, 22 Feb 2011 08:08:14 +0000 Subject: [PATCH] Fix build files for MS Visual C++ --- dist-gpv.sh | 4 ++-- gedwin.mak | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/dist-gpv.sh b/dist-gpv.sh index ba8d365..9d013f3 100755 --- a/dist-gpv.sh +++ b/dist-gpv.sh @@ -27,8 +27,8 @@ files="${files} docs/rusfaq.txt docs/tips.txt docs/todowork.txt" files="${files} docs/tokencfg.txt docs/tokentpl.txt" rm ${bines} -nmake /f golded.mak CFG="Release" clean -nmake /f golded.mak CFG="Release" +nmake /f gedwin.mak CFG="Release" clean +nmake /f gedwin.mak CFG="Release" printf 'GoldED+1.1.5 [Win32 binaries]\r\n' >${dizfile} printf '[Compiled using MS Visual C++]\r\n' >>${dizfile} diff --git a/gedwin.mak b/gedwin.mak index 970fc12..be5989b 100644 --- a/gedwin.mak +++ b/gedwin.mak @@ -138,3 +138,18 @@ all: $(MAKE) /$(MAKEFLAGS) /F rddt.mak CFG="rddt - Win32 Release" !ENDIF cd ".." + +clean: + cd "windows" +!IF "$(CFG)" == "Debug" +# $(MAKE) /$(MAKEFLAGS) /F goldlib.mak CFG="goldlib - Win32 Debug" clean + $(MAKE) /$(MAKEFLAGS) /F golded.mak CFG="golded - Win32 Debug" clean + $(MAKE) /$(MAKEFLAGS) /F goldnode.mak CFG="goldnode - Win32 Debug" clean + $(MAKE) /$(MAKEFLAGS) /F rddt.mak CFG="rddt - Win32 Debug" clean +!ELSE +# $(MAKE) /$(MAKEFLAGS) /F goldlib.mak CFG="goldlib - Win32 Release" clean + $(MAKE) /$(MAKEFLAGS) /F golded.mak CFG="golded - Win32 Release" clean + $(MAKE) /$(MAKEFLAGS) /F goldnode.mak CFG="goldnode - Win32 Release" clean + $(MAKE) /$(MAKEFLAGS) /F rddt.mak CFG="rddt - Win32 Release" clean +!ENDIF + cd ".."