|
|
1.1 root 1: #*************************************************************#
2: #** **#
3: #** Microsoft RPC Examples **#
4: #** yeild Application **#
5: #** Copyright(c) Microsoft Corp. 1992 **#
6: #** **#
7: #*************************************************************#
8:
9: cc= cl
10: cflags= -c -AL -Gsw -Oas -Zpe -Zi -I$(INCLUDE)
11: linker= link
12: lflags= /CO /NOD
13:
14: .c.obj:
15: $(cc) $(cflags) $<
16:
17: all: yieldc.exe
18:
19: # Update the resource if necessary
20: yieldc.res: yieldc.rc yieldc.h
21: rc -r yieldc.rc
22:
23: # Update the executable file if necessary, and if so, add the resource back in.
24: yieldc.exe: yieldc.obj yieldc.def yield_c.obj yield_x.obj yieldc.res
25: $(linker) $(lflags) yieldc yield_c yield_x,,,\
26: libw llibcew rpcw rpcndrw, yieldc.def
27: rc yieldc.res yieldc.exe
28:
29: # Update the object files if necessary
30:
31: yieldc.obj: yieldc.c yieldc.h yield.h
32: $(cc) $(cflags) $(cvars) -DWIN16 yieldc.c
33:
34: yield_c.obj : yield_c.c yieldc.h
35:
36: yield_x.obj : yield_x.c yieldc.h
37:
38: yield.h yield_c.c yield_x.c : yield.idl yield.acf
39: midl yield.idl -no_cpp
40:
41: # Clean up everything
42: cleanall : clean
43: -del *.exe
44:
45: # Clean up everything but the .EXEs
46: clean :
47: -del *.obj
48: -del *.map
49: -del yieldc.res
50: -del yield_c.c
51: -del yield_x.c
52: -del yield.h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.