From: stewartamiles Date: Thu, 23 Jul 2009 16:31:35 +0000 (+0000) Subject: * Modified cmockery's windows makefile so that it's possible to build the library... X-Git-Tag: cmocka-1.1.1~375 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c97caac3cf8f4643b16570125ddb81f7a8efd02;p=platform%2Fupstream%2Fcmocka.git * 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 --- 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 \