From d18fbda0d0bd7d4cd702e1feb80d5803a4afcc39 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 19 May 2010 13:30:58 +0200 Subject: testprogs/win32: make it possible to specify MINGW_CC metze --- testprogs/win32/npecho/GNUmakefile | 3 ++- testprogs/win32/spoolss/GNUmakefile | 4 +++- testprogs/win32/testmailslot/GNUmakefile | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) (limited to 'testprogs/win32') diff --git a/testprogs/win32/npecho/GNUmakefile b/testprogs/win32/npecho/GNUmakefile index cc08ba74a1..5b4f976949 100755 --- a/testprogs/win32/npecho/GNUmakefile +++ b/testprogs/win32/npecho/GNUmakefile @@ -8,7 +8,8 @@ NPECHO2 = npecho_client2.exe npecho_server2.exe all: $(NPECHO) $(NPECHO2) -CC = i586-mingw32msvc-gcc +MINGW_CC = i586-mingw32msvc-cc +CC = $(MINGW_CC) .SUFFIXES: .c .obj .exe diff --git a/testprogs/win32/spoolss/GNUmakefile b/testprogs/win32/spoolss/GNUmakefile index e35ca87c22..0321a655e9 100644 --- a/testprogs/win32/spoolss/GNUmakefile +++ b/testprogs/win32/spoolss/GNUmakefile @@ -1,5 +1,7 @@ CFLAGS=-I../../../ -CC=i686-pc-mingw32-gcc +MINGW_CC = i586-mingw32msvc-cc +CC = $(MINGW_CC) + LIBS=-lwinspool all: testspoolss.exe diff --git a/testprogs/win32/testmailslot/GNUmakefile b/testprogs/win32/testmailslot/GNUmakefile index c1c421527e..a41fb91efb 100644 --- a/testprogs/win32/testmailslot/GNUmakefile +++ b/testprogs/win32/testmailslot/GNUmakefile @@ -1,6 +1,7 @@ INCLUDES=-I. CFLAGS=$(INCLUDES) -CC=i586-mingw32msvc-gcc +MINGW_CC = i586-mingw32msvc-cc +CC = $(MINGW_CC) all: testmailslot.exe -- cgit