From 4ad69c3deec3470849270fb180a78f8a4e78f854 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 28 Sep 2005 13:47:39 +0000 Subject: r10576: Add testprog for named pipes. Also add GNUmakefile's for cross-compilation using mingw32 (This used to be commit 30ba8fdc3dc8dba543686591a27b819b8f9444db) --- testprogs/win32/testmailslot/GNUmakefile | 15 +++++++++++++++ testprogs/win32/testmailslot/Makefile | 10 ---------- testprogs/win32/testmailslot/NMakefile | 10 ++++++++++ 3 files changed, 25 insertions(+), 10 deletions(-) create mode 100644 testprogs/win32/testmailslot/GNUmakefile delete mode 100644 testprogs/win32/testmailslot/Makefile create mode 100644 testprogs/win32/testmailslot/NMakefile (limited to 'testprogs/win32/testmailslot') diff --git a/testprogs/win32/testmailslot/GNUmakefile b/testprogs/win32/testmailslot/GNUmakefile new file mode 100644 index 0000000000..c1c421527e --- /dev/null +++ b/testprogs/win32/testmailslot/GNUmakefile @@ -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) diff --git a/testprogs/win32/testmailslot/Makefile b/testprogs/win32/testmailslot/Makefile deleted file mode 100644 index e307654fcb..0000000000 --- a/testprogs/win32/testmailslot/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -INCLUDES=-I -CFLAGS=$(INCLUDES) -Zi -nologo - -all: testmailslot.exe - -clean: - del *~ *.obj testmailslot.exe - -testmailslot.exe: testmailslot.obj - $(CC) $(CFLAGS) -o testmailslot.exe testmailslot.obj $(LIBS) diff --git a/testprogs/win32/testmailslot/NMakefile b/testprogs/win32/testmailslot/NMakefile new file mode 100644 index 0000000000..e307654fcb --- /dev/null +++ b/testprogs/win32/testmailslot/NMakefile @@ -0,0 +1,10 @@ +INCLUDES=-I +CFLAGS=$(INCLUDES) -Zi -nologo + +all: testmailslot.exe + +clean: + del *~ *.obj testmailslot.exe + +testmailslot.exe: testmailslot.obj + $(CC) $(CFLAGS) -o testmailslot.exe testmailslot.obj $(LIBS) -- cgit