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 / symedit / makefile next >
Makefile  |  1997-10-15  |  643b  |  32 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. !include <ntwin32.mak>
  4.  
  5. !if "$(CPU)" == "i386"
  6. cflags = $(cflags) -D_CRTAPI1=_cdecl -D_CRTAPI2=_cdecl
  7. !else
  8. cflags = $(cflags) -D_CRTAPI1= -D_CRTAPI2=
  9. !endif
  10.  
  11. all: ..\bin\symedit.exe
  12.  
  13. cflags = $(cflags) -DWIN32 -DTARGET32 -DHOST32 -DADDR_MIXED -DNT_BUILD -D_CROSS_PLATFORM_
  14.  
  15. .c.obj:
  16.     $(cc) $(cflags) $(cvarsdll) -I..\include -I. $(scall) $(cdebug) $**
  17.  
  18. OBJS = symedit.obj
  19.  
  20. ..\bin\symedit.exe: $(OBJS) ..\lib\symcvt.lib
  21.     @if not exist ..\bin md ..\bin > nul
  22.     $(link) @<<
  23. $(conlflags)
  24. $(linkdebug)
  25. -out:$@
  26. $(**: =
  27. )
  28. $(guilibsdll: =
  29. )
  30. imagehlp.lib
  31. <<NOKEEP
  32.