diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-09-28 13:47:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:39:06 -0500 |
commit | 4ad69c3deec3470849270fb180a78f8a4e78f854 (patch) | |
tree | b6269cb088ca7ac3bd9aeb837f83c83ea2d3d2c6 /testprogs/win32/npecho/GNUmakefile | |
parent | f7c5e5a3987ea773203f6052e9cac34ae8992131 (diff) | |
download | samba-4ad69c3deec3470849270fb180a78f8a4e78f854.tar.gz samba-4ad69c3deec3470849270fb180a78f8a4e78f854.tar.bz2 samba-4ad69c3deec3470849270fb180a78f8a4e78f854.zip |
r10576: Add testprog for named pipes. Also add GNUmakefile's for cross-compilation
using mingw32
(This used to be commit 30ba8fdc3dc8dba543686591a27b819b8f9444db)
Diffstat (limited to 'testprogs/win32/npecho/GNUmakefile')
-rwxr-xr-x | testprogs/win32/npecho/GNUmakefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testprogs/win32/npecho/GNUmakefile b/testprogs/win32/npecho/GNUmakefile new file mode 100755 index 0000000000..33cf95def1 --- /dev/null +++ b/testprogs/win32/npecho/GNUmakefile @@ -0,0 +1,20 @@ +INCLUDES=-I. +CFLAGS=$(INCLUDES) + +all: npecho_client.exe npecho_server.exe + +CC = i586-mingw32msvc-gcc + +.SUFFIXES: .c .obj + +.c.obj: + $(CC) $(CFLAGS) -c $< -o $@ + +clean: + del *~ *.obj *.exe + +npecho_client.exe: npecho_client.obj +npecho_server.exe: npecho_server.obj + +%.exe: + $(CC) $(CFLAGS) -o $@ $< $(LIBS) |