|
|
1.1 root 1: #
2: # Standard command line definitions
3: #
4: as=masm
5:
6: DIR = wincard\\
7:
8: INC = \windows\inc
9:
10: cp=cl -u -c -AS -Gsw -Os -Zpe -W3 -Fo$(DIR) -DIN_WINDOWS -PLM -NT
11:
12: OBJLIST3 = $(DIR)cfmain.obj $(DIR)cfpaint.obj \
13: $(DIR)cffile.obj $(DIR)cfdb.obj \
14: $(DIR)cfinput.obj $(DIR)cfscroll.obj \
15: $(DIR)cfdos.obj $(DIR)cfcard.obj \
16: $(DIR)cftext.obj $(DIR)cfnew.obj \
17: $(DIR)cfres.obj $(DIR)cffind.obj \
18: $(DIR)cfclip.obj $(DIR)cfopen.obj \
19: $(DIR)cfdata.obj $(DIR)windiff1.obj
20:
21: #
22: # Standard inference rules
23: #
24: .c.obj:
25: $(cp) _TEXT $*.c
26:
27: .asm.obj:
28: $(as) -I$(INC) $*.asm;
29:
30: #
31: # The C File List
32: #
33: $(DIR)cfdata.obj: cfdata.c
34: $(cp) _TEXT cfdata.c > $(DIR)errs2
35: type $(DIR)errs2
36:
37: $(DIR)cfres.obj: cfres.c
38: $(cp) _TEXT cfres.c > $(DIR)errs3
39: type $(DIR)errs3
40:
41: $(DIR)cfnew.obj: cfnew.c
42: $(cp) _NEW cfnew.c > $(DIR)errs4
43: type $(DIR)errs4
44:
45: $(DIR)cfmain.obj: cfmain.c
46: $(cp) _NRES1 cfmain.c > $(DIR)errs5
47: type $(DIR)errs5
48:
49: $(DIR)cfpaint.obj: cfpaint.c
50: $(cp) _NRES1 cfpaint.c > $(DIR)errs6
51: type $(DIR)errs6
52:
53: $(DIR)cfinput.obj: cfinput.c
54: $(cp) _NRES1 cfinput.c > $(DIR)errs7
55: type $(DIR)errs7
56:
57: $(DIR)cfopen.obj: cfopen.c
58: $(cp) _NRES1 cfopen.c > $(DIR)errs8
59: type $(DIR)errs8
60:
61: $(DIR)cfscroll.obj: cfscroll.c
62: $(cp) _NRES1 cfscroll.c > $(DIR)errs9
63: type $(DIR)errs9
64:
65: $(DIR)cfcard.obj: cfcard.c
66: $(cp) _NRES1 cfcard.c > $(DIR)errs10
67: type $(DIR)errs10
68:
69: $(DIR)cftext.obj: cftext.c
70: $(cp) _NRES1 cftext.c > $(DIR)errs11
71: type $(DIR)errs11
72:
73: $(DIR)cffile.obj: cffile.c
74: $(cp) _FILE cffile.c > $(DIR)errs12
75: type $(DIR)errs12
76:
77: $(DIR)cfclip.obj: cfclip.c
78: $(cp) _NRES2 cfclip.c > $(DIR)errs14
79: type $(DIR)errs14
80:
81:
82: $(DIR)cffind.obj: cffind.c
83: $(cp) _NRES3 cffind.c > $(DIR)errs16
84: type $(DIR)errs16
85:
86: $(DIR)cfdb.obj: cfdb.c
87: $(cp) _NRES3 cfdb.c > $(DIR)errs17
88: type $(DIR)errs17
89:
90: #
91: # The Assembler File List
92: #
93:
94: $(DIR)asmsubs.obj: asmsubs.asm
95: $(as) -I$(INC) asmsubs,$(DIR)asmsubs;
96:
97: $(DIR)cfdos.obj: cfdos.asm
98: $(as) -I$(INC) cfdos,$(DIR)cfdos;
99:
100: $(DIR)windiff1.obj: windiff1.asm
101: $(as) -I$(INC) windiff1,$(DIR)windiff1;
102:
103:
104: $(DIR)cardfile.res: $(DIR)cardfile.rc $(DIR)cardfile.ico
105: cd $(DIR).
106: rc -r cardfile.rc
107: cd ..
108:
109: #
110: # Executable
111: #
112:
113: $(DIR)cardfile.exe: $(DIR)cardfile.def $(DIR)cardfile.res $(OBJLIST3)
114: cd $(DIR).
115: link @cardfile.lnk
116: mapsym cardfile
117: rc cardfile.res
118: cd ..
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.