home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
winbase
/
winnt
/
perftool
/
perfdlls
/
leakybin
/
makefile
< prev
next >
Wrap
Makefile
|
1996-07-02
|
1KB
|
49 lines
# THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
# ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
# PARTICULAR PURPOSE.
#
# Copyright (C) 1993 - 1995 Microsoft Corporation. All Rights Reserved.
#
#
# Processor independent makefile
# Nmake macros for building Windows 32-Bit apps
!include <win32.mak>
PROJ = LEAKYBIN
all: $(PROJ).exe $(PROJ).hlp
# Define project specific macros
PROJ_OBJS = leakybin.obj
BASE_OBJS =
EXTRA_LIBS = version.lib
GLOBAL_DEP = leakybin.h resource.h
RC_DEP = resource.h
# Inference rule for updating the object files
.c.obj:
$(cc) $(cdebug) $(cflags) $(cvars) $*.c
# Build rule for resource file
$(PROJ).res: $(PROJ).rc $(RC_DEP)
$(rc) $(rcflags) $(rcvars) /fo $(PROJ).res $(PROJ).rc
# Build rule for EXE
$(PROJ).EXE: $(BASE_OBJS) $(PROJ_OBJS) $(PROJ).res
$(link) $(linkdebug) $(guilflags) \
$(BASE_OBJS) $(PROJ_OBJS) $(PROJ).res $(guilibs) $(EXTRA_LIBS) \
-out:$(PROJ).exe $(MAPFILE)
# Build rule for help file
$(PROJ).hlp: $(PROJ).rtf $(PROJ).hpj
$(hc) $(PROJ).hpj
# Rules for cleaning out those old files
clean:
del *.bak *.pdb *.obj *.res *.exp *.map *.sbr *.bsc *.lst *.err