home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / sdktools / image / winnt / pfmon / makefile < prev    next >
Makefile  |  1996-07-25  |  663b  |  32 lines

  1.  
  2. TARGETOS=WINNT
  3. APPVER=4.0
  4.  
  5. !include <win32.mak>
  6.  
  7. all: ..\..\bin\pfmon.exe
  8.  
  9.  
  10. OBJS = pfmon.res     \
  11.        debug.obj     \
  12.        error.obj     \
  13.        init.obj      \
  14.        module.obj    \
  15.        pfmon.obj     \
  16.        process.obj
  17.  
  18. errormsg.h errormsg.rc msg00001.bin: errormsg.mc
  19.   mc -v errormsg.mc
  20.  
  21. pfmon.res: errormsg.rc msg00001.bin pfmon.rc
  22.   rc -r -fo pfmon.res pfmon.rc
  23.  
  24. .c.obj:
  25.   $(cc) $(cflags) $(cvars) $(cdebug) -I..\..\include -I. $*.c
  26.  
  27.  
  28. ..\..\bin\pfmon.exe:  $(OBJS)
  29.   @if not exist ..\..\bin md ..\..\bin > nul
  30.   $(link) $(linkdebug) $(conflags) -machine:$(CPU) -out:$@ $** \
  31.     $(conlibs) psapi.lib imagehlp.lib
  32.