|
|
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: ReadWrit.exe DataBase.dll
8:
9: # Update the object files if necessary
10:
11: ReadWrit.obj: ReadWrit.c
12: $(cc) $(cflags) $(cvars) ReadWrit.c
13:
14:
15: DataBase.obj: DataBase.c
16: $(cc) $(cflags) $(cvars) DataBase.c
17:
18: # Update the import library
19:
20: DataBase.lib: DataBase.obj DataBase.def
21: lib -machine:$(CPU) \
22: -def:DataBase.def \
23: -out:DataBase.lib
24:
25: # Update the dynamic link library
26:
27: DataBase.dll: DataBase.obj DataBase.def
28: $(link) \
29: -base:0x1C000000 \
30: -dll \
31: -entry:DLLInitExitPoint\
32: -out:DataBase.dll \
33: DataBase.exp DataBase.obj \
34: # HACK
35: crtdll.lib ntdll.lib kernel32.lib
36:
37:
38: # Update the executable file if necessary.
39: # If so, add the resource back in.
40:
41: ReadWrit.exe: ReadWrit.obj DataBase.lib
42: $(link) $(conflags) -out:ReadWrit.exe ReadWrit.obj DataBase.lib $(conlibs)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.