* cmockery: version 0.11
* Made it possible to specify executable, library and object output
directories.
git-svn-id: http://cmockery.googlecode.com/svn/trunk@10
40f4469a-5155-0410-be90-
2de3f0bae501
OBJECT_DIR=.
!ENDIF # OBJECT_DIR
OBJECT_DIR=.
!ENDIF # OBJECT_DIR
+# Tools
+!IFNDEF LIBTOOL
+LIBTOOL=lib.exe
+!ENDIF # LIBTOOL
+
+!IFNDEF LINK
+LINK=link.exe
+!ENDIF # LINK
+
# Source directories.
LIBRARY_SOURCE_DIRECTORY=..\src
EXAMPLE_SOURCE_DIRECTORY=..\src\example
# Source directories.
LIBRARY_SOURCE_DIRECTORY=..\src
EXAMPLE_SOURCE_DIRECTORY=..\src\example
LIBLINKFLAGS=/NOLOGO /MACHINE:x86 /SUBSYSTEM:console
# Library archiver flags and command.
LIBLINKFLAGS=/NOLOGO /MACHINE:x86 /SUBSYSTEM:console
# Library archiver flags and command.
-LIBRARY_ARCHIVER=lib.exe
-LIB_COMMAND=$(LIBRARY_ARCHIVER) $(LIBFLAGS) $(**) /OUT:$(@)
+LIB_COMMAND=$(LIBTOOL) $(LIBFLAGS) $(**) /OUT:$(@)
# Linker flags and command.
# Linker flags and command.
LFLAGS=$(LIBLINKFLAGS) libcmt.lib kernel32.lib /NODEFAULTLIB:libc.lib
LINK_COMMAND=$(LINK) $(LFLAGS) $(**) /OUT:$(@)
LFLAGS=$(LIBLINKFLAGS) libcmt.lib kernel32.lib /NODEFAULTLIB:libc.lib
LINK_COMMAND=$(LINK) $(LFLAGS) $(**) /OUT:$(@)