home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winbase / security / certsvr / exit / makefile < prev    next >
Encoding:
Makefile  |  1997-09-21  |  594 b   |  33 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. TARGETOS=WINNT
  4.  
  5. !include <win32.mak>
  6.  
  7.  
  8. PROJNAME = EXIT
  9. OBJFILES = atl.obj certexit.obj exit.obj pch.obj
  10. EXTRA_LIBS = certidl.lib
  11.  
  12. all: $(PROJNAME).dll
  13.  
  14.  
  15. certexit.res: certexit.rc certexit.tlb
  16.     $(rc) $(rcvars) -r -fo $*.res $*.rc
  17.  
  18.  
  19. certexit.tlb: certexit.idl
  20.     midl certexit.idl
  21.  
  22.  
  23. .cpp.obj:
  24.     $(cc) $(cdebug) $(cflags) $(cvarsdll) -I. -DUNICODE $*.cpp
  25.  
  26.  
  27. $(PROJNAME).dll: $(OBJFILES) certexit.res
  28.     $(link) $(linkdebug) $(dlllflags) -out:$*.dll $** $(olelibsdll) $(EXTRA_LIBS)
  29.  
  30.  
  31. clean:
  32.     del *.obj *.res
  33.