|
|
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: clock.exe
8:
9: # Update the resource if necessary
10:
11: res.res: clockres.rc clock.dlg clock.ico
12: rc -r -fo res.tmp clockres.rc
13: cvtres -$(CPU) res.tmp -o res.res
14: del res.tmp
15:
16: # Update the object file if necessary
17:
18: clock.obj: clock.c clock.h
19: $(cc) $(cflags) $(cvars) clock.c
20:
21: # Update the executable file if necessary, and if so, add the resource back in.
22:
23: clock.exe: clock.obj res.res clock.def
24: $(cvtobj) $(cvtdebug) *.obj
25: $(link) $(guiflags) -out:clock.exe clock.obj res.res $(guilibs)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.