|
|
1.1 root 1: # Nmake macros for building Windows 32-Bit apps
2:
3: !include <ntwin32.mak>
4:
5: all: main.exe the_dll.dll
6:
7: # Update the object files if necessary
8:
9: main.obj: main.c
1.1.1.2 ! root 10: $(cc) $(cdebug) $(cflags) $(cvars) main.c
1.1 root 11:
1.1.1.2 ! root 12: the_dll.rbj: the_dll.rc the_dll.bmp the_dll.cur the_dll.ico
! 13: rc -r -fo the_dll.res the_dll.rc
! 14: cvtres -$(CPU) the_dll.res -o the_dll.rbj
1.1 root 15:
16: # Update the dynamic link library
17:
1.1.1.2 ! root 18: the_dll.dll: the_dll.def the_dll.rbj
! 19: $(link) $(linkdebug) \
1.1 root 20: -base:0x1C000000 \
21: -dll \
22: -out:the_dll.dll \
1.1.1.2 ! root 23: the_dll.rbj $(guilibs)
1.1 root 24:
25:
26: # Update the executable file if necessary.
27: # If so, add the resource back in.
28:
29: main.exe: main.obj main.def
1.1.1.2 ! root 30: $(cvtobj) $(cvtdebug) *.obj
! 31: $(link) $(linkdebug) $(guiflags) -out:main.exe main.obj $(guilibs)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.