File:  [WindowsNT SDKs] / mstools / samples / mapi / makefile
Revision 1.1.1.1 (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>

cflags=$(cflags) -DDEVL=1

all: MapiApp.exe

# Update the resource if necessary

MapiApp.res: MapiApp.rc MapiApp.h MapiApp.ico
    $(rc) $(rcvars) -r MapiApp.rc
    $(cvtres) -$(CPU) MapiApp.res -o MapiApp.rbj

# Update the object files if necessary

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

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

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

MapiApp.exe: MapiApp.obj Mapinit.obj MapiApp.res makefile
    $(link) $(linkdebug)  $(guiflags) -out:MapiApp.exe\
    MapiApp.obj Mapinit.obj MapiApp.rbj version.lib $(guilibsmt)

unix.superglobalmegacorp.com

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