2
CFLAGS=$(INCLUDES) -Zi -D_WIN32_WINNT=0x502
8
del *~ *.obj *.exe midltests.h midltests_s.c midltests_c.c
10
#MIDL_ARGS=/target NT50
11
MIDL_ARGS=/Os /prefix client cli_ /prefix server srv_ /prefix switch swi_
12
midltests.h midltests_s.c midltests_c.c: midltests.idl midltests.acf
13
midl $(MIDL_ARGS) /acf midltests.acf midltests.idl
15
MIDLTESTS_OBJ = midltests.obj midltests_s_m.obj midltests_c_m.obj midltests_marshall.obj utils.obj
16
midltests.exe: $(MIDLTESTS_OBJ)
17
$(CC) -o midltests.exe $(MIDLTESTS_OBJ) $(LIBS)
19
midltests.obj: midltests.h midltests.idl
20
midltests_c_m.c: midltests_c.c
21
midltests_s_m.c: midltests_s.c
23
midltests.obj: midltests.h midltests.idl midltests.c
24
midltests_s_m.obj: midltests_marshall.h midltests_s.c midltests_s_m.c
25
midltests_c_m.obj: midltests_marshall.h midltests_c.c midltests_c_m.c
26
midltests_marshall.obj: midltests.h midltests_marshall.c
27
utils.obj: midltests.h utils.c
9
@call nmake /f Makefile.simple /A /NOLOGO clean
10
@call nmake /f Makefile.tcp /A /NOLOGO clean
13
@call nmake /f Makefile.simple /A /NOLOGO all
16
@call nmake /f Makefile.tcp /A /NOLOGO all