home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 December / PCWKCD1296.iso / vjplusb / activex / inetsdk / samples / wininet / asyncftp / makefile < prev    next >
Encoding:
Makefile  |  1996-05-01  |  962 b   |  46 lines

  1. #
  2. # MAKEFILE
  3. # Async Wininet FTP 
  4. #
  5. # Copyright (c)1996 Microsoft Corporation
  6. # Mike Maringas, mikema@microsoft.com
  7. #
  8. TARGETOS=BOTH
  9. APPVER=4.0
  10.  
  11. all:asyncftp.exe
  12.  
  13. !include <win32.mak>
  14.  
  15.  
  16.  
  17.  
  18. # Update the resource if necessary
  19.  
  20. asyncftp.res: asyncftp.rc resource.h
  21.     $(rc) $(rcvars) $(rcflags) asyncftp.rc
  22.  
  23. # Update the object files if necessary
  24. .cpp.obj:
  25.     echo ++++++++++
  26.     echo Compiling $*.cpp
  27.     $(cc) $(cflags) $(cvars) $(cdebug) $*.cpp
  28.  
  29. # Update the executable file if necessary, and if so, add the resource back in.
  30.  
  31. OBJS1    = capp.obj cdlg.obj cdlgopt.obj
  32. OBJS2    = comctl.obj clist.obj
  33. OBJS     = $(OBJS1) $(OBJS2)
  34.  
  35. LIBS1    = kernel32.lib user32.lib gdi32.lib
  36. LIBS2    = comctl32.lib wininet.lib $(libcdll)
  37. LIBS     = $(LIBS1) $(LIBS2)
  38.  
  39. asyncftp.exe : $(OBJS) asyncftp.res
  40.     $(link) $(ldebug) $(lflags) -out:asyncftp.exe $(OBJS) asyncftp.res $(LIBS)
  41.  
  42. clean:
  43.     del *.exe
  44.     del *.obj
  45.     del *.res
  46.