testprogs/win32: make it possible to specify MINGW_CC
[samba.git] / testprogs / win32 / testmailslot / GNUmakefile
1 INCLUDES=-I.
2 CFLAGS=$(INCLUDES) 
3 MINGW_CC = i586-mingw32msvc-cc
4 CC = $(MINGW_CC)
5
6 all: testmailslot.exe
7
8 clean:
9         rm -f *~ *.obj testmailslot.exe 
10
11 .SUFFIXES: .obj .exe .c
12
13 testmailslot.exe: testmailslot.c
14
15 .c.exe: 
16         $(CC) $(CFLAGS) -o $@ $^ $(LIBS)