home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / powergui / frame1 / minmax / makefile < prev    next >
Encoding:
Makefile  |  1996-10-29  |  1.2 KB  |  44 lines

  1. ## Frame Window Basics - Minimize/Maximize Handler
  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)\minmax.res
  9. RC=rc.exe -DIC_PM
  10. !else
  11. ODIR=.\win
  12. ORES=
  13. RC=irc.exe -Fo$(ODIR)\minmax.res
  14. !endif
  15.  
  16.  
  17. ALL :  CREATEDIR  $(ODIR)\minmax.exe
  18.  
  19. $(ODIR)\minmax.exe : $(ODIR)\minmax.obj $(ODIR)\minmaxh.obj $(ODIR)\chdhider.obj \
  20.                      $(ODIR)\minmax.res
  21. !ifdef IC_PM
  22.    icc $(CFLAGS) /B"$(LFLAGS)" /Fe$(ODIR)\minmax.exe $(ODIR)\minmax.obj \
  23.                  $(ODIR)\minmaxh.obj $(ODIR)\chdhider.obj
  24.    $(RC) $(ODIR)\minmax.res $(ODIR)\minmax.exe
  25. !else
  26.    icc $(CFLAGS) /B"$(LFLAGS)" /Fe$(ODIR)\minmax.exe $(ODIR)\minmax.obj \
  27.                  $(ODIR)\minmaxh.obj $(ODIR)\chdhider.obj $(ODIR)\minmax.res user32.lib
  28. !endif
  29.  
  30. $(ODIR)\minmax.obj: minmax.cpp chdhider.hpp
  31.    icc $(CFLAGS) /C+ /Fo$(ODIR)\minmax.obj minmax.cpp
  32.  
  33. $(ODIR)\minmaxh.obj: minmaxh.cpp minmaxh.hpp
  34.    icc $(CFLAGS) /C+ /Fo$(ODIR)\minmaxh.obj minmaxh.cpp
  35.  
  36. $(ODIR)\chdhider.obj: chdhider.cpp chdhider.hpp minmaxh.hpp
  37.    icc $(CFLAGS) /C+ /Fo$(ODIR)\chdhider.obj chdhider.cpp
  38.  
  39. $(ODIR)\minmax.res: minmax.rc $(ODIR)\minmax.ico
  40.    $(RC) -r minmax.rc $(ORES)
  41.  
  42. CREATEDIR:
  43.   @if not exist $(ODIR)* md $(ODIR)
  44.