r10577: Fix error in ReadFile()
[samba.git] / testprogs / win32 / npecho / GNUmakefile
1 INCLUDES=-I.
2 CFLAGS=$(INCLUDES) 
3
4 all: npecho_client.exe npecho_server.exe
5
6 CC = i586-mingw32msvc-gcc
7
8 .SUFFIXES: .c .obj
9
10 .c.obj: 
11         $(CC) $(CFLAGS) -c $< -o $@
12
13 clean:
14         del *~ *.obj *.exe 
15
16 npecho_client.exe: npecho_client.obj
17 npecho_server.exe: npecho_server.obj
18
19 %.exe: 
20         $(CC) $(CFLAGS) -o $@ $< $(LIBS)