File:  [WindowsNT SDKs] / q_a / samples / bob / makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:30:08 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>


# This line allows NMAKE to work as well

all: BOB.exe

# Update the resource if necessary
BOB.rbj: BOB.rc BOB.h
    rc -r -fo BOB.res BOB.rc
    cvtres -$(CPU) BOB.res -o BOB.rbj

# Update the object file if necessary

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

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

BOB.exe: BOB.obj BOB.rbj BOB.def
    $(link) $(linkdebug) $(guiflags) -out:BOB.exe BOB.obj BOB.rbj $(guilibs) advapi32.lib


clean:
        del *.rbj
        del *.res
        del *.obj
        del *.bak

unix.superglobalmegacorp.com

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