File:  [WindowsNT SDKs] / mstools / samples / rpc / yield / makefile.win
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:24:28 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-nov-1993, ntsdk-jul-1993, HEAD
Microsoft Windows NT Build 511 (SDK Final Release) 07-24-1993

#*************************************************************#
#**                                                         **#
#**                 Microsoft RPC Examples                  **#
#**                    yeild Application                    **#
#**            Copyright(c) Microsoft Corp. 1992            **#
#**                                                         **#
#*************************************************************#

cc= cl
cflags= -c -AL -Gsw -Oas -Zpe -Zi -I$(INCLUDE)
linker= link
lflags= /CO /NOD

.c.obj:
   $(cc) $(cflags) $<

all: yieldc.exe

# Update the resource if necessary
yieldc.res: yieldc.rc yieldc.h
    rc -r yieldc.rc

# Update the executable file if necessary, and if so, add the resource back in.
yieldc.exe: yieldc.obj yieldc.def yield_c.obj yield_x.obj yieldc.res
    $(linker) $(lflags) yieldc yield_c yield_x,,,\
    libw llibcew rpcw rpcndrw, yieldc.def
    rc yieldc.res yieldc.exe

# Update the object files if necessary

yieldc.obj: yieldc.c yieldc.h yield.h
   $(cc) $(cflags) $(cvars) -DWIN16 yieldc.c

yield_c.obj : yield_c.c yieldc.h

yield_x.obj : yield_x.c yieldc.h

yield.h yield_c.c yield_x.c : yield.idl yield.acf
   midl yield.idl -no_cpp

# Clean up everything
cleanall : clean
    -del *.exe

# Clean up everything but the .EXEs
clean :
    -del *.obj
    -del *.map
    -del yieldc.res
    -del yield_c.c
    -del yield_x.c
    -del yield.h

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.