# # Makefile for rpc protocol compiler (Microsoft Visual C++) # # Note, __WATCOMC__ is defined as we want the same options. # OBJS = rindex.obj \ rpc_clnt.obj \ rpc_cout.obj \ rpc_hout.obj \ rpc_main.obj \ rpc_pars.obj \ rpc_samp.obj \ rpc_scan.obj \ rpc_svco.obj \ rpc_tblo.obj \ rpc_util.obj all: rpcgen.exe clean: del *.obj del *.err install: all copy rpcgen.exe ..\..\bin copy rpcgen.exe ..\bin rpcgen.exe: $(OBJS) link /out:rpcgen.exe $(OBJS) libc.lib wsock32.lib advapi32.lib .c.obj: cl /I. /I..\..\inc /DPATCHED /D__WATCOMC__ /DWIN32 /c /Zi $*.c > $*.err