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


!include <ntwin32.mak>

my_lib = advapi32.lib olesvr32.lib

all: srvrdemo.exe

# Update the resource if necessary

srvrdemo.res: srvrdemo.rc
    $(rc) $(rcvars) -r srvrdemo.rc

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

# Update the object file if necessary

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

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

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

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

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

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

srvrdemo.exe: srvrdemo.obj doc.obj obj.obj server.obj file.obj srvrdemo.rbj srvrdemo.def
    $(link) $(linkdebug) $(guiflags) -out:srvrdemo.exe srvrdemo.obj file.obj doc.obj obj.obj server.obj srvrdemo.rbj $(guilibs) $(my_lib)

unix.superglobalmegacorp.com

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