testprogs/win32: make it possible to specify MINGW_CC
authorStefan Metzmacher <metze@samba.org>
Wed, 19 May 2010 11:30:58 +0000 (13:30 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 19 May 2010 11:59:45 +0000 (13:59 +0200)
metze

testprogs/win32/npecho/GNUmakefile
testprogs/win32/spoolss/GNUmakefile
testprogs/win32/testmailslot/GNUmakefile

index cc08ba74a1629e6d45d093af932855aacbd424a0..5b4f976949f07cf12c5a123ef9d8c2060a2d2e23 100755 (executable)
@@ -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
 
index e35ca87c224f9c1efc838e671b5943dab0b341a8..0321a655e92f576fc309e5f7852fb12a80c8a3f9 100644 (file)
@@ -1,5 +1,7 @@
 CFLAGS=-I../../../
-CC=i686-pc-mingw32-gcc
+MINGW_CC = i586-mingw32msvc-cc
+CC = $(MINGW_CC)
+
 LIBS=-lwinspool
 
 all: testspoolss.exe
index c1c421527e24cb6f3172755df2da1e130c3afb68..a41fb91efb04192e2d9794b1b368760bd911675f 100644 (file)
@@ -1,6 +1,7 @@
 INCLUDES=-I.
 CFLAGS=$(INCLUDES) 
-CC=i586-mingw32msvc-gcc
+MINGW_CC = i586-mingw32msvc-cc
+CC = $(MINGW_CC)
 
 all: testmailslot.exe