r10576: Add testprog for named pipes. Also add GNUmakefile's for cross-compilation
[ira/wip.git] / testprogs / win32 / testmailslot / GNUmakefile
diff --git a/testprogs/win32/testmailslot/GNUmakefile b/testprogs/win32/testmailslot/GNUmakefile
new file mode 100644 (file)
index 0000000..c1c4215
--- /dev/null
@@ -0,0 +1,15 @@
+INCLUDES=-I.
+CFLAGS=$(INCLUDES) 
+CC=i586-mingw32msvc-gcc
+
+all: testmailslot.exe
+
+clean:
+       rm -f *~ *.obj testmailslot.exe 
+
+.SUFFIXES: .obj .exe .c
+
+testmailslot.exe: testmailslot.c
+
+.c.exe: 
+       $(CC) $(CFLAGS) -o $@ $^ $(LIBS)