home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / powergui / cnr / treedet / makefile next >
Encoding:
Makefile  |  1996-10-29  |  1.4 KB  |  48 lines

  1. ## Container Control - Combined Tree and Details View
  2.  
  3. CFLAGS = /Ft- /Gd+ /Ge+ /Gm+ /Wall+gnr-ppc-ppt-uni-vft-
  4. LFLAGS = /PM:PM
  5.  
  6. !ifdef IC_PM
  7. ODIR=.\os2
  8. ORES=$(ODIR)\treedet.res
  9. RC=rc.exe -DIC_PM
  10. !else
  11. ODIR=.\win
  12. ORES=
  13. RC=irc.exe -Fo$(ODIR)\treedet.res
  14. !endif
  15.  
  16. OBJS=$(ODIR)\treedet.obj $(ODIR)\treedetc.obj $(ODIR)\treedeth.obj $(ODIR)\partlist.obj $(ODIR)\partobj.obj
  17.  
  18. ALL : CREATEDIR   $(ODIR)\treedet.exe
  19.  
  20. $(ODIR)\treedet.exe : $(OBJS)  $(ODIR)\partlist.res
  21. !ifdef IC_PM
  22.    icc $(CFLAGS) /B"$(LFLAGS)" /Fe$(ODIR)\treedet.exe $(OBJS)
  23.    $(RC) $(ODIR)\treedet.res  $(ODIR)\treedet.exe
  24. !else
  25.    icc $(CFLAGS) /B"$(LFLAGS)" /Fe$(ODIR)\treedet.exe  $(OBJS) $(ODIR)\treedet.res
  26. !endif
  27.  
  28. $(ODIR)\treedet.obj: treedet.cpp partlist.hpp
  29.    icc $(CFLAGS) /C+  /Fo$(ODIR)\treedet.obj  treedet.cpp
  30.  
  31. $(ODIR)\treedetc.obj: treedetc.cpp treedetc.hpp
  32.    icc $(CFLAGS) /C+  /Fo$(ODIR)\treedetc.obj  treedetc.cpp
  33.  
  34. $(ODIR)\treedeth.obj: treedeth.cpp treedeth.hpp treedetc.hpp
  35.    icc $(CFLAGS) /C+  /Fo$(ODIR)\treedeth.obj  treedeth.cpp
  36.  
  37. $(ODIR)\partlist.obj: partlist.cpp partlist.hpp partlist.h partobj.hpp treedetc.hpp treedeth.hpp
  38.    icc $(CFLAGS) /C+  /Fo$(ODIR)\partlist.obj  partlist.cpp
  39.  
  40. $(ODIR)\partobj.obj: partobj.cpp partobj.hpp
  41.    icc $(CFLAGS) /C+  /Fo$(ODIR)\partobj.obj  partobj.cpp
  42.  
  43. $(ODIR)\partlist.res:  partlist.rc partlist.h
  44.    $(RC) -r partlist.rc $(ORES)
  45.  
  46. CREATEDIR:
  47.   @if not exist $(ODIR)* md $(ODIR)
  48.