|
|
1.1 root 1: # Nmake macros for building Windows 32-Bit apps
2:
3: !include <ntwin32.mak>
4:
1.1.1.2 ! root 5: all: ntfonts.exe ntfonts.hlp
1.1 root 6:
7: # Update the resource if necessary
8:
1.1.1.2 ! root 9: ntfonts.rbj: ntfonts.rc ntfonts.h
! 10: rc -r -fo ntfonts.res ntfonts.rc
! 11: cvtres -$(CPU) ntfonts.res -o ntfonts.rbj
! 12:
! 13: # Update the online help file if necessary.
! 14: ntfonts.hlp: ntfonts.hpj ntfonts.rtf
! 15: @if exist ntfonts.PH del ntfonts.PH
! 16: hc -n ntfonts.hpj
1.1 root 17:
18: # Update the object file if necessary
19:
20: ntfonts.obj: ntfonts.c ntfonts.h
1.1.1.2 ! root 21: $(cc) $(cdebug) $(cflags) $(cvars) ntfonts.c
1.1 root 22:
23: allfont.obj: allfont.c ntfonts.h
1.1.1.2 ! root 24: $(cc) $(cdebug) $(cflags) $(cvars) allfont.c
1.1 root 25:
26: dialogs.obj: dialogs.c ntfonts.h
1.1.1.2 ! root 27: $(cc) $(cdebug) $(cflags) $(cvars) dialogs.c
1.1 root 28:
29: toolbar.obj: toolbar.c ntfonts.h
1.1.1.2 ! root 30: $(cc) $(cdebug) $(cflags) $(cvars) toolbar.c
1.1 root 31:
1.1.1.2 ! root 32: display.obj: display.c ntfonts.h
! 33: $(cc) $(cdebug) $(cflags) $(cvars) display.c
1.1 root 34:
35: # Update the executable file if necessary, and if so, add the resource back in.
36:
1.1.1.2 ! root 37: ntfonts.exe: ntfonts.obj ntfonts.rbj ntfonts.def allfont.obj dialogs.obj toolbar.obj display.obj
1.1 root 38: $(cvtobj) $(cvtdebug) *.obj
1.1.1.2 ! root 39: $(link) $(linkdebug) $(guiflags) -out:ntfonts.exe \
! 40: ntfonts.obj allfont.obj dialogs.obj toolbar.obj display.obj ntfonts.rbj $(guilibs)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.