From 0c97caac3cf8f4643b16570125ddb81f7a8efd02 Mon Sep 17 00:00:00 2001 From: stewartamiles Date: Thu, 23 Jul 2009 16:31:35 +0000 Subject: [PATCH] * Modified cmockery's windows makefile so that it's possible to build the library from any current directory. git-svn-id: http://cmockery.googlecode.com/svn/trunk@29 40f4469a-5155-0410-be90-2de3f0bae501 --- windows/makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/windows/makefile b/windows/makefile index 764b277..4d3e416 100644 --- a/windows/makefile +++ b/windows/makefile @@ -45,8 +45,12 @@ LINK=link.exe !ENDIF # LINK # Source directories. +!IFNDEF LIBRARY_SOURCE_DIRECTORY LIBRARY_SOURCE_DIRECTORY=..\src +!ENDIF # LIBRARY_SOURCE_DIRECTORY +!IFNDEF EXAMPLE_SOURCE_DIRECTORY EXAMPLE_SOURCE_DIRECTORY=..\src\example +!ENDIF # EXAMPLE_SOURCE_DIRECTORY # Compiler flags and commands. CC_COMMAND=$(CC) /nologo /c /D_WIN32_WINNT=0x501 \ -- 2.7.4