File:  [WindowsNT SDKs] / mstools / samples / ntfonts / makefile
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:22:12 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-oct-1992, HEAD
Microsoft Windows NT Build 328 10-12-1992

# Nmake macros for building Windows 32-Bit apps

!include <ntwin32.mak>

all: ntfonts.exe ntfonts.hlp

# Update the resource if necessary

ntfonts.rbj: ntfonts.rc ntfonts.h
    rc -r -fo ntfonts.res ntfonts.rc
    cvtres -$(CPU) ntfonts.res -o ntfonts.rbj

# Update the online help file if necessary.
ntfonts.hlp: ntfonts.hpj ntfonts.rtf
    @if exist ntfonts.PH del ntfonts.PH
    hc -n ntfonts.hpj

# Update the object file if necessary

ntfonts.obj: ntfonts.c ntfonts.h
    $(cc) $(cdebug) $(cflags) $(cvars) ntfonts.c

allfont.obj: allfont.c ntfonts.h
    $(cc) $(cdebug) $(cflags) $(cvars) allfont.c

dialogs.obj: dialogs.c ntfonts.h
    $(cc) $(cdebug) $(cflags) $(cvars) dialogs.c

toolbar.obj: toolbar.c ntfonts.h
    $(cc) $(cdebug) $(cflags) $(cvars) toolbar.c

display.obj: display.c ntfonts.h
    $(cc) $(cdebug) $(cflags) $(cvars) display.c

# Update the executable file if necessary, and if so, add the resource back in.

ntfonts.exe: ntfonts.obj ntfonts.rbj ntfonts.def allfont.obj dialogs.obj toolbar.obj display.obj
    $(cvtobj) $(cvtdebug) *.obj
    $(link) $(linkdebug) $(guiflags) -out:ntfonts.exe \
          ntfonts.obj allfont.obj dialogs.obj toolbar.obj display.obj ntfonts.rbj $(guilibs)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.