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

# Update the object files if necessary

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

proghelp.obj: proghelp.c
    $(cc) $(cflags) $(cvarsdll) $(cdebug) proghelp.c

# Update the resources if necessary

phtest.res: phtest.rc phtest.h
    $(rc) $(rcvars) -r phtest.rc

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

# Update the import library

proghelp.lib: proghelp.obj proghelp.def
    $(implib) -machine:$(CPU)     \
    -def:proghelp.def	    \
    proghelp.obj	 	    \
    -out:proghelp.lib

# Update the dynamic link library

proghelp.dll: proghelp.obj proghelp.def
    $(link) $(linkdebug)     \
    -base:0x1C000000  \
    -dll	      \
    -entry:ProgHelpInit$(DLLENTRY) \
    -out:proghelp.dll   \
    proghelp.exp proghelp.obj $(guilibsdll)


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

phtest.exe: phtest.obj proghelp.lib phtest.rbj
    $(link) $(linkdebug) $(guiflags) -out:phtest.exe phtest.obj proghelp.lib phtest.rbj $(guilibs)

unix.superglobalmegacorp.com

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