File:  [WindowsNT SDKs] / mstools / samples / showdib / makefile
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:23:46 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-nov-1993, ntsdk-jul-1993, HEAD
Microsoft Windows NT Build 511 (SDK Final Release) 07-24-1993

# Nmake macros for building Windows 32-Bit apps

!include <ntwin32.mak>

all: showdib.exe

# Update the resource if necessary

showdib.res: showdib.rc showdib.h
    rc -r showdib.rc

showdib.rbj: showdib.res
    cvtres -$(CPU) showdib.res -o showdib.rbj

# Update the object file if necessary

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

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

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

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

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

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

showdib.exe: showdib.obj print.obj dib.obj dlgopen.obj drawdib.obj showdib.rbj showdib.def
    $(link) $(linkdebug) $(guiflags) -out:showdib.exe showdib.obj print.obj dib.obj dlgopen.obj drawdib.obj showdib.rbj $(guilibs)

unix.superglobalmegacorp.com

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