home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / powergui / buttons / titlebut / makefile next >
Encoding:
Makefile  |  1996-10-29  |  898 b   |  37 lines

  1. ## Button Controls - Title Bar Bitmap Example
  2.  
  3. !ifdef IC_PM
  4.  
  5. CFLAGS = /Ft- /Gd+ /Ge+ /Gm+ /Wall+gnr-ppc-ppt-uni-vft-
  6. LFLAGS = /PM:PM
  7.  
  8. ODIR=.\os2
  9. ORES=$(ODIR)\titlebut.res
  10. RC=rc.exe -DIC_PM
  11.  
  12.  
  13. ALL : CREATEDIR   $(ODIR)\titlebut.exe
  14.  
  15. $(ODIR)\titlebut.exe :  $(ODIR)\titlebut.obj $(ODIR)\titlebut.res
  16. !ifdef IC_PM
  17.    icc $(CFLAGS) /B"$(LFLAGS)" /Fe$(ODIR)\titlebut.exe $(ODIR)\titlebut.obj
  18.    $(RC) $(ODIR)\titlebut.res  $(ODIR)\titlebut.exe
  19. !else
  20.    icc $(CFLAGS) /B"$(LFLAGS)" /Fe$(ODIR)\titlebut.exe  $(ODIR)\titlebut.obj $(ODIR)\titlebut.res
  21. !endif
  22.  
  23. $(ODIR)\titlebut.obj: titlebut.cpp titlebut.h
  24.    icc $(CFLAGS) /C+  /Fo$(ODIR)\titlebut.obj  titlebut.cpp
  25.  
  26. $(ODIR)\titlebut.res:  titlebut.rc titlebut.h
  27.    $(RC) -r titlebut.rc $(ORES)
  28.  
  29. CREATEDIR:
  30.   @if not exist $(ODIR)* md $(ODIR)
  31. !else
  32.  
  33. ALL:
  34.   @ECHO ERROR:  Title Bitmaps is not supported on Windows.
  35.  
  36. !endif
  37.