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