summaryrefslogtreecommitdiff
path: root/testprogs/win32/npecho/GNUmakefile
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-09 11:54:34 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-09 11:57:13 +0100
commit5438d7dad8d349f8fdc07a89870ddafb9c54a68f (patch)
tree9c3e178ce24c623732dea20db812d9bb06b3084d /testprogs/win32/npecho/GNUmakefile
parent15243c13e914b1ecc6f0eec924cc587a4069c62b (diff)
downloadsamba-5438d7dad8d349f8fdc07a89870ddafb9c54a68f.tar.gz
samba-5438d7dad8d349f8fdc07a89870ddafb9c54a68f.tar.bz2
samba-5438d7dad8d349f8fdc07a89870ddafb9c54a68f.zip
testprogs/win32: add npecho_*2.c
This exlores some details of message type named pipes. metze
Diffstat (limited to 'testprogs/win32/npecho/GNUmakefile')
-rwxr-xr-xtestprogs/win32/npecho/GNUmakefile23
1 files changed, 13 insertions, 10 deletions
diff --git a/testprogs/win32/npecho/GNUmakefile b/testprogs/win32/npecho/GNUmakefile
index 33cf95def1..64fb79f5cc 100755
--- a/testprogs/win32/npecho/GNUmakefile
+++ b/testprogs/win32/npecho/GNUmakefile
@@ -1,20 +1,23 @@
INCLUDES=-I.
-CFLAGS=$(INCLUDES)
+CFLAGS=$(INCLUDES)
-all: npecho_client.exe npecho_server.exe
+NPECHO = npecho_client.exe
+#npecho_server.exe
+
+NPECHO2 = npecho_client2.exe npecho_server2.exe
+
+all: $(NPECHO) $(NPECHO2)
CC = i586-mingw32msvc-gcc
-.SUFFIXES: .c .obj
+.SUFFIXES: .c .obj .exe
-.c.obj:
+.c.obj:
$(CC) $(CFLAGS) -c $< -o $@
-clean:
- del *~ *.obj *.exe
+.obj.exe:
+ $(CC) $(CFLAGS) -o $@ $< $(LIBS)
-npecho_client.exe: npecho_client.obj
-npecho_server.exe: npecho_server.obj
+clean:
+ del *~ *.obj *.exe
-%.exe:
- $(CC) $(CFLAGS) -o $@ $< $(LIBS)