File:  [WindowsNT SDKs] / mstools / samples / memory / makefile
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:23:17 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: memory.exe


# Update the object file if necessary

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

nmmemcli.obj: nmmemcli.c
    $(cc) $(cflags) $(cvars) $(cdebug) nmmemcli.c

nmmemsrv.obj: nmmemsrv.c
    $(cc) $(cflags) $(cvars) $(cdebug) nmmemsrv.c


# Update the resources if necessary

memory.res: memory.rc memory.h
    rc -r memory.rc

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

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

memory.exe: memory.obj nmmemcli.obj nmmemsrv.obj memory.rbj
    $(link) $(linkdebug) $(guiflags) -out:memory.exe	 \
    memory.obj nmmemcli.obj nmmemsrv.obj memory.rbj $(guilibs) shell32.lib

unix.superglobalmegacorp.com

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