--- mstools/samples/rpc/handles/cxhndl/makefile 2018/08/09 18:20:56 1.1.1.1 +++ mstools/samples/rpc/handles/cxhndl/makefile 2018/08/09 18:22:02 1.1.1.2 @@ -11,6 +11,8 @@ !if "$(CPU)" == "i386" cvtomf = WARN = -W1 +# workaround for Windows NT 10/92 beta +cflags = $(cflags:G3=Gz) !endif !if "$(CPU)" == "MIPS" cvtomf = mip2coff $@ @@ -28,7 +30,7 @@ cxhndlc : cxhndlc.exe cxhndlc.exe : cxhndlc.obj cxhndl_c.obj cxhndl_x.obj $(link) $(conflags) -out:cxhndlc.exe \ cxhndlc.obj cxhndl_c.obj cxhndl_x.obj \ - $(LIB)\rpcrt4.lib $(LIB)\rpcndr.lib $(conlibs) + rpcrt4.lib rpcndr.lib $(conlibs) # client main program cxhndlc.obj : cxhndlc.c cxhndl.h @@ -48,7 +50,7 @@ cxhndls : cxhndls.exe cxhndls.exe : cxhndls.obj cxhndlp.obj cxhndl_s.obj cxhndl_y.obj $(link) $(conflags) -out:cxhndls.exe \ cxhndls.obj cxhndl_s.obj cxhndlp.obj cxhndl_y.obj \ - $(LIB)\rpcrt4.lib $(LIB)\rpcndr.lib $(conlibs) + rpcrt4.lib rpcndr.lib $(conlibs) # server main loop cxhndls.obj : cxhndls.c cxhndl.h