|
|
1.1 root 1: # Some nmake macros for Win32 apps development
2:
3: !include <ntwin32.mak>
4:
5:
6: # This line allows NMAKE to work as well
7:
8: all: spy.exe
9:
10: # Update the object file if necessary
11:
12: spy.obj: spy.c spy.h spyfuncs.h
13: $(cc) $(cflags) $(cvars) $(cdebug) spy.c
14:
15: hook.obj: hook.c spy.h spyfuncs.h
16: $(cc) $(cflags) $(cvars) $(cdebug) hook.c
17:
18: dialogs.obj: dialogs.c spy.h spyfuncs.h
19: $(cc) $(cflags) $(cvars) $(cdebug) dialogs.c
20:
21: misc.obj: misc.c spy.h spyfuncs.h
22: $(cc) $(cflags) $(cvars) $(cdebug) misc.c
23:
24: wm.obj: wm.c spy.h spyfuncs.h
25: $(cc) $(cflags) $(cvars) $(cdebug) wm.c
26:
27: wprintf.obj: wprintf.c spy.h spyfuncs.h
28: $(cc) $(cflags) $(cvars) $(cdebug) wprintf.c
29:
30: # Update the resources if necessary
31:
32: spy.res: spy.rc spy.h spyfuncs.h
33: $(rc) -r spy.rc
34:
35: spy.rbj: spy.res
36: $(cvtres) -$(CPU) spy.res -o spy.rbj
37:
38: # Update the executable file if necessary, and if so, add the resource back in.
39:
40: spy.exe: spy.obj hook.obj dialogs.obj misc.obj wm.obj wprintf.obj spy.rbj
41: $(link) $(linkdebug) $(guiflags) -out:spy.exe \
42: spy.obj hook.obj dialogs.obj misc.obj wm.obj \
43: wprintf.obj spy.rbj ..\dll\hook.lib $(guilibs) advapi32.lib
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.