summaryrefslogtreecommitdiff
path: root/testprogs/win32/rpcecho/Makefile
blob: 253ebedb715d81beda2478dc3f3497c90c7e0156 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CC=E:\VC98\bin\cl -nologo
INCLUDES=-I 
CFLAGS=$(INCLUDES) -Zi
LIBS=rpcrt4.lib

all: client server

clean:
	del *~ *.obj client server rpcecho_c.c rpcecho_s.c rpcecho.h

rpcecho.h rpcecho_s.c rpcecho_c.c: rpcecho.idl rpcecho.acf
	midl rpcecho.idl

client: client.obj rpcecho_c.obj utils.obj
	$(CC) -o client client.obj rpcecho_c.obj utils.obj $(LIBS)

server: server.obj rpcecho_s.obj utils.obj
	$(CC) -o server server.obj rpcecho_s.obj utils.obj $(LIBS)

client.obj: rpcecho.h client.c
server.obj: rpcecho.h server.c
rpcecho_c.obj: rpcecho.h rpcecho_c.c
rpcecho_s.obj: rpcecho.h rpcecho_s.c
utils.obj: rpcecho.h utils.c