home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / sdktools / winnt / perfmon / makefile < prev    next >
Makefile  |  1997-10-12  |  2KB  |  64 lines

  1. TARGETOS=WINNT
  2. SEHMAP=TRUE
  3.  
  4. !include <win32.mak>
  5.  
  6. all: perfmon.exe
  7.  
  8. perfmon.res: perfmon.rc perfmon.h
  9.     $(rc) -r -DUNICODE=1 -DSTRICT -DSECURITY -DADVANCED_PERFMON perfmon.rc
  10.  
  11. perfmon.exe: addline.obj   \
  12.         addlog.obj    \
  13.         alert.obj     \
  14.         bookmark.obj  \
  15.         chosecom.obj  \
  16.         command.obj   \
  17.         counters.obj  \
  18.         datasrc.obj   \
  19.         dialogs.obj   \
  20.         export.obj    \
  21.         fileopen.obj  \
  22.         filesave.obj  \
  23.         fileutil.obj  \
  24.         grafdata.obj  \
  25.         grafdisp.obj  \
  26.         graph.obj     \
  27.         init.obj      \
  28.         intrline.obj  \
  29.         legend.obj    \
  30.         line.obj      \
  31.         log.obj       \
  32.         logoptns.obj  \
  33.         memory.obj    \
  34.         perfdata.obj  \
  35.         perfmon.obj   \
  36.         perfmops.obj  \
  37.         playback.obj  \
  38.         registry.obj  \
  39.         report.obj    \
  40.         rptfct.obj    \
  41.         rptoptns.obj  \
  42.         status.obj    \
  43.         system.obj    \
  44.         timefrm.obj   \
  45.         timeline.obj  \
  46.         toolbar.obj   \
  47.         utils.obj     \
  48.         valuebar.obj  \
  49.         perfmon.res
  50.   $(link) $(linkdebug) $(guilflags) -out:$*.exe $** \
  51.     $(guilibs) shell32.lib comctl32.lib advapi32.lib
  52. !IF ("$(TARGETLANG)" == "LANG_JAPANESE") && ("$(OS)" == "Windows_NT")
  53.     rlman -p 932 -n 17 1 -a $*.exe $*.tok $*.exe
  54. !ENDIF
  55.  
  56. .c.obj:
  57.   $(cc) $(cdebug) $(cflags) $(cvars) \
  58.     -DUNICODE=1 -D_UNICODE=1 -DSTRICT -DSECURITY \
  59.     -DADVANCED_PERFMON -DWINVER=0x0400 $*.c
  60.  
  61.  
  62. clean:
  63.   del *.obj *.exe *.res
  64.