~zulcss/samba/server-dailies-3.4

« back to all changes in this revision

Viewing changes to testprogs/win32/npecho/GNUmakefile

  • Committer: Chuck Short
  • Date: 2010-09-28 20:38:39 UTC
  • Revision ID: zulcss@ubuntu.com-20100928203839-pgjulytsi9ue63x1
Initial version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
INCLUDES=-I.
 
2
CFLAGS=$(INCLUDES)
 
3
 
 
4
NPECHO = npecho_client.exe
 
5
#npecho_server.exe
 
6
 
 
7
NPECHO2 = npecho_client2.exe npecho_server2.exe
 
8
 
 
9
all: $(NPECHO) $(NPECHO2)
 
10
 
 
11
CC = i586-mingw32msvc-gcc
 
12
 
 
13
.SUFFIXES: .c .obj .exe
 
14
 
 
15
.c.obj:
 
16
        $(CC) $(CFLAGS) -c $< -o $@
 
17
 
 
18
.obj.exe:
 
19
        $(CC) $(CFLAGS) -o $@ $< $(LIBS)
 
20
 
 
21
clean:
 
22
        del *~ *.obj *.exe
 
23