home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / graphics / icm20 / icmview / makefile < prev    next >
Makefile  |  1997-10-10  |  2KB  |  64 lines

  1. APPVER=5.0
  2.  
  3. CFLAGS=0x0500
  4. _BITMAPV5=1
  5.  
  6. !include <win32.mak>
  7.  
  8. LINK32_OBJS= appinit.obj child.obj debug.obj dialogs.obj dibinfo.obj dibs.obj \
  9.     icmview.obj print.obj regutil.obj icmview.res
  10.  
  11. ALL : icmview.exe
  12.  
  13. icmview.res : icmview.rc icmview.ico small.ico resource.h icmview.def
  14.     $(rc) $(rcflags) $(rcvars) $(rcdebug) icmview.rc
  15.  
  16. appinit.obj : appinit.c appinit.h icmview.h child.h dibinfo.h debug.h resource.h
  17.     $(cc) $(cflags) $(cvars) $(cdebug) appinit.c
  18.  
  19. child.obj : child.c icmview.h resource.h child.h dialogs.h dibinfo.h dibs.h print.h debug.h
  20.     $(cc) $(cflags) $(cvars) $(cdebug) child.c
  21.  
  22. debug.obj : debug.c icmview.h debug.h dibinfo.h
  23.     $(cc) $(cflags) $(cvars) $(cdebug) debug.c
  24.  
  25. dialogs.obj : dialogs.c icmview.h resource.h dialogs.h cderr.h print.h child.h dibinfo.h dibs.h appinit.h debug.h
  26.     $(cc) $(cflags) $(cvars) $(cdebug) dialogs.c
  27.  
  28. dibinfo.obj : dibinfo.c icmview.h dibinfo.h dibs.h regutil.h print.h debug.h
  29.     $(cc) $(cflags) $(cvars) $(cdebug) dibinfo.c
  30.  
  31. dibs.obj : dibs.c icmview.h child.h dibinfo.h dibs.h debug.h print.h regutil.h
  32.     $(cc) $(cflags) $(cvars) $(cdebug) dibs.c
  33.  
  34. icmview.obj : icmview.c icmview.h resource.h print.h dialogs.h appinit.h child.h dibinfo.h debug.h
  35.     $(cc) $(cflags) $(cvars) $(cdebug) icmview.c
  36.  
  37. print.obj : print.c icmview.h child.h dibinfo.h dibs.h debug.h print.h regutil.h resource.h
  38.     $(cc) $(cflags) $(cvars) $(cdebug) print.c
  39.  
  40. regutil.obj : regutil.c regutil.h
  41.     $(cc) $(cflags) $(cvars) $(cdebug) regutil.c
  42.  
  43. icmview.exe : $(DEF_FILE) $(LINK32_OBJS)
  44.     $(link) $(linkdebug) $(guilflags) $(LINK32_OBJS) \
  45.     -out:icmview.exe fdi.lib $(guilibs) shell32.lib comctl32.lib \
  46.     version.lib mscms.lib icmui.lib /def:icmview.def
  47.  
  48.  
  49.  
  50. CLEAN :
  51.     -@erase icmview.exe
  52.     -@erase appinit.obj
  53.     -@erase child.obj
  54.     -@erase debug.obj
  55.     -@erase dialogs.obj
  56.     -@erase dibinfo.obj
  57.     -@erase dibs.obj
  58.     -@erase icmview.obj
  59.     -@erase print.obj
  60.     -@erase regutil.obj
  61.     -@erase icmview.res
  62.     -@erase icmview.lib
  63.     -@erase icmview.exp
  64.