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

#  ************************************************************************
#
#                       Microsoft Developer Support
#                Copyright (c) 1993 Microsoft Corporation
#
#  ************************************************************************
#  MAKEFILE  : MinRec
#  PURPOSE   : A Small Win32 Recorder-like Sample Application
#  COMMENTS  :
#
#  ************************************************************************

# Nmake macros for building Win32 applications
!include <ntwin32.mak>

# target list
all: MinRec.Exe RecHook.Dll

# Update the resource if necessary
MinRec.Res: MinRec.Rc MinRec.Dlg MinRec.Ico MinRec.H
    $(rc) $(rcvars) -r -fo MinRec.Res MinRec.Rc
    $(cvtres) -$(CPU) MinRec.Res -o MinRec.Rbj

# Update the object file(s) if necessary
MinRec.Obj: MinRec.C MinRec.H
    $(cc) $(cdebug) $(cflags) $(cvars) MinRec.C

RecHook.Obj: RecHook.C RecHook.H MinRec.H
    $(cc) $(cdebug) $(cflags) $(cvars) RecHook.C

# Update the import library
RecHook.Lib: RecHook.Obj RecHook.Def
    $(implib)\
    -machine:$(CPU)\
    -def:RecHook.Def\
    -out:RecHook.Lib

# Update the dynamic link library
RecHook.Dll: RecHook.Obj RecHook.Lib
    $(link) $(ldebug) $(guilflags)\
    -base:0x1C000000\
    -dll\
    -entry:_DllMainCRTStartup$(DLLENTRY)\
    -out:RecHook.Dll\
    RecHook.Obj RecHook.Exp\
    $(guilibs)

# Update the Executable file if necessary.
MinRec.Exe: MinRec.Obj MinRec.Res MinRec.Def RecHook.Lib
    $(link) $(ldebug) $(guilflags)\
      -out:MinRec.Exe\
      MinRec.Obj RecHook.Lib MinRec.Rbj\
      $(guilibs)

unix.superglobalmegacorp.com

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