home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winbase / winnt / pop3 / makefile < prev    next >
Encoding:
Makefile  |  1996-07-05  |  776 b   |  32 lines

  1.  
  2. TARGETOS=WINNT
  3. !include <win32.mak>
  4.  
  5. !IFNDEF NODEBUG
  6. cdebug = $(cdebug) -DDBG
  7. debugobj = debug.obj
  8. !ENDIF
  9.  
  10. all: pop3srv.exe
  11.  
  12. pop3evnt.h pop3evnt.rc msg00001.bin: pop3evnt.mc
  13.     mc -v pop3evnt.mc
  14.  
  15. pop3evnt.res: pop3evnt.rc msg00001.bin pop3evnt.rc
  16.     rc -r -fo pop3evnt.res pop3evnt.rc 
  17.  
  18. .c.obj:
  19.   $(cc) $(cdebug) $(cflags) $(cvars) -DUNICODE -D_UNICODE -DRPC_NO_WINDOWS_H $*.c
  20.  
  21. pop3srv.exe: pop3evnt.res \
  22.             pop3srv.obj \
  23.             pop3.obj    \
  24.             popfile.obj \
  25.             service.obj \
  26.             events.obj  \
  27.             $(debugobj) \
  28.             param.obj   \
  29.             threads.obj \
  30.             socket.obj
  31.   $(link) $(linkdebug) $(conflags) -machine:$(CPU) -out:$*.exe $** $(conlibsdll) advapi32.lib rpcrt4.lib
  32.