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 / handles / auto / makefile.dos < prev    next >
Encoding:
Makefile  |  1995-11-14  |  1.2 KB  |  47 lines

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