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