|
|
1.1 root 1: # Nmake macros for building Windows 32-Bit apps
2:
3: !include <ntwin32.mak>
4:
5: all: ReadWrit.exe DataBase.dll
6:
7: # Update the object files if necessary
8:
9: ReadWrit.obj: ReadWrit.c
1.1.1.2 root 10: $(cc) $(cdebug) $(cflags) $(cvars) ReadWrit.c
1.1 root 11:
12:
13: DataBase.obj: DataBase.c
1.1.1.2 root 14: $(cc) $(cdebug) $(cflags) $(cvars) DataBase.c
1.1 root 15:
16: # Update the import library
17:
18: DataBase.lib: DataBase.obj DataBase.def
1.1.1.3 ! root 19: $(implib) -machine:$(CPU) \
1.1.1.2 root 20: -def:DataBase.def DataBase.obj \
1.1 root 21: -out:DataBase.lib
22:
23: # Update the dynamic link library
24:
25: DataBase.dll: DataBase.obj DataBase.def
1.1.1.2 root 26: $(link) $(linkdebug) \
1.1 root 27: -base:0x1C000000 \
28: -dll \
1.1.1.3 ! root 29: -entry:_DllMainCRTStartup$(DLLENTRY)\
1.1 root 30: -out:DataBase.dll \
1.1.1.2 root 31: DataBase.exp DataBase.obj $(conlibsdll)
1.1 root 32:
33:
34: # Update the executable file if necessary.
35: # If so, add the resource back in.
36:
37: ReadWrit.exe: ReadWrit.obj DataBase.lib
1.1.1.2 root 38: $(link) $(linkdebug) $(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.