home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / netds / rpc / cluuid / makefile.dos < prev    next >
Encoding:
Makefile  |  1995-11-14  |  1.2 KB  |  46 lines

  1. #*************************************************************#
  2. #**                                                         **#
  3. #**                 Microsoft RPC Examples                  **#
  4. #**                   cluuid Application                    **#
  5. #**         Copyright(c) Microsoft Corp. 1992-1995          **#
  6. #**                                                         **#
  7. #*************************************************************#
  8.  
  9. cc= cl
  10. cflags= -c -AL -Gsw -Oas -Zpe -Zi -D_CRTAPI1=
  11. linker= link
  12. lflags= /CO /NOD /STACK:4096
  13.  
  14. .c.obj:
  15.    $(cc) $(cflags) $<
  16.  
  17. all : cluuidc
  18.  
  19. idl : cluuid.h
  20.  
  21. # Make the client side application cluuidc
  22. cluuidc : cluuidc.exe
  23. cluuidc.exe : cluuidc.obj cluuid_c.obj
  24.     $(linker) $(lflags) cluuidc cluuid_c ,,,\
  25.     llibce rpc rpcndr;
  26.  
  27. # Update the object files if necessary
  28.  
  29. cluuidc.obj : cluuidc.c cluuid.h
  30.  
  31. cluuid_c.obj : cluuid_c.c cluuid.h
  32.  
  33. cluuid.h cluuid_c.c : cluuid.idl cluuid.acf
  34.     midl -env dos -oldnames -use_epv -no_cpp cluuid.idl
  35.  
  36. # Clean up everything
  37. cleanall : clean
  38.     -del cluuidc.exe
  39.  
  40. # Clean up everything but the .EXEs
  41. clean :
  42.     -del *.obj
  43.     -del *.map
  44.     -del cluuid_c.c
  45.     -del cluuid.h
  46.