|
|
1.1 root 1: # Nmake macros for building Windows 32-Bit apps
2:
3: !include <ntwin32.mak>
4:
5: # This line allows NMAKE to work as well
6:
7: all: srvrdemo.exe
8:
9: # Update the resource if necessary
10:
11: srvrdemo.res: srvrdemo.rc
12: rc -r -fo res.tmp srvrdemo.rc
13: cvtres -$(CPU) res.tmp -o srvrdemo.res
14: del res.tmp
15:
16: # Update the object file if necessary
17:
18: srvrdemo.obj: srvrdemo.c
19: $(cc) $(cflags) $(cvars) srvrdemo.c
20:
21: doc.obj: doc.c
22: $(cc) $(cflags) $(cvars) doc.c
23:
24: obj.obj: obj.c
25: $(cc) $(cflags) $(cvars) obj.c
26:
27: file.obj: file.c
28: $(cc) $(cflags) $(cvars) file.c
29:
30: server.obj: server.c
31: $(cc) $(cflags) $(cvars) server.c
32:
33: # Update the executable file if necessary, and if so, add the resource back in.
34:
35: srvrdemo.exe: srvrdemo.obj doc.obj obj.obj server.obj file.obj srvrdemo.res srvrdemo.def
36: $(cvtobj) $(cvtdebug) *.obj
37: $(link) $(guiflags) -out:srvrdemo.exe srvrdemo.obj file.obj doc.obj obj.obj server.obj srvrdemo.res $(guilibs)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.