git.samba.org
/
samba.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
testprogs/win32: make it possible to specify MINGW_CC
[samba.git]
/
testprogs
/
win32
/
npecho
/
GNUmakefile
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
MINGW_CC = i586-mingw32msvc-cc
12
CC = $(MINGW_CC)
13
14
.SUFFIXES: .c .obj .exe
15
16
.c.obj:
17
$(CC) $(CFLAGS) -c $< -o $@
18
19
.obj.exe:
20
$(CC) $(CFLAGS) -o $@ $< $(LIBS)
21
22
clean:
23
rm -f *~ *.obj *.exe
24