|
|
1.1 root 1: # Nmake macros for building Windows 32-Bit apps
2:
3: !include <ntwin32.mak>
4:
5: all: menu.exe
6:
7: # Update the resource if necessary
8:
9: menu.res: menu.rc menu.h menu.dlg checkon.bmp checkoff.bmp menu.ico
10: rc -r menu.rc
11:
12: menu.rbj: menu.res
13: cvtres -$(CPU) menu.res -o menu.rbj
14:
15: # Update the object file if necessary
16:
17: menu.obj: menu.c menu.h
18: $(cc) $(cflags) $(cvars) $(cdebug) menu.c
19:
20: # Update the executable file if necessary, and if so, add the resource back in.
21:
22: menu.exe: menu.obj menu.rbj menu.def
23: $(cvtobj) $(cvtdebug) *.obj
24: $(link) $(linkdebug) $(guiflags) -out:menu.exe menu.obj menu.rbj $(guilibs)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.