|
|
1.1 root 1: # ************************************************************************
2: #
3: # Microsoft Developer Support
4: # Copyright (c) 1993 Microsoft Corporation
5: #
6: # ************************************************************************
7: # MAKEFILE : MinRec
8: # PURPOSE : A Small Win32 Recorder-like Sample Application
9: # COMMENTS :
10: #
11: # ************************************************************************
12:
13: # Nmake macros for building Win32 applications
14: !include <ntwin32.mak>
15:
16: # target list
17: all: MinRec.Exe RecHook.Dll
18:
19: # Update the resource if necessary
20: MinRec.Res: MinRec.Rc MinRec.Dlg MinRec.Ico MinRec.H
21: $(rc) $(rcvars) -r -fo MinRec.Res MinRec.Rc
22: $(cvtres) -$(CPU) MinRec.Res -o MinRec.Rbj
23:
24: # Update the object file(s) if necessary
25: MinRec.Obj: MinRec.C MinRec.H
26: $(cc) $(cdebug) $(cflags) $(cvars) MinRec.C
27:
28: RecHook.Obj: RecHook.C RecHook.H MinRec.H
29: $(cc) $(cdebug) $(cflags) $(cvars) RecHook.C
30:
31: # Update the import library
32: RecHook.Lib: RecHook.Obj RecHook.Def
33: $(implib)\
34: -machine:$(CPU)\
35: -def:RecHook.Def\
36: -out:RecHook.Lib
37:
38: # Update the dynamic link library
39: RecHook.Dll: RecHook.Obj RecHook.Lib
40: $(link) $(ldebug) $(guilflags)\
41: -base:0x1C000000\
42: -dll\
43: -entry:_DllMainCRTStartup$(DLLENTRY)\
44: -out:RecHook.Dll\
45: RecHook.Obj RecHook.Exp\
46: $(guilibs)
47:
48: # Update the Executable file if necessary.
49: MinRec.Exe: MinRec.Obj MinRec.Res MinRec.Def RecHook.Lib
50: $(link) $(ldebug) $(guilflags)\
51: -out:MinRec.Exe\
52: MinRec.Obj RecHook.Lib MinRec.Rbj\
53: $(guilibs)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.