home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / powergui / toolbar / animated / makefile < prev   
Encoding:
Makefile  |  1996-10-29  |  921 b   |  35 lines

  1. ## Tool Bars - Animated Button Example
  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)\animated.res
  9. RC=rc.exe -DIC_PM
  10. !else
  11. ODIR=.\win
  12. ORES=
  13. RC=irc.exe -Fo$(ODIR)\animated.res
  14. !endif
  15.  
  16.  
  17. ALL : CREATEDIR $(ODIR)\animated.exe
  18.  
  19. $(ODIR)\animated.exe :  $(ODIR)\animated.obj $(ODIR)\animated.res
  20. !ifdef IC_PM
  21.    icc $(CFLAGS) /B"$(LFLAGS)" /Fe$(ODIR)\animated.exe $(ODIR)\animated.obj
  22.    $(RC) $(ODIR)\animated.res  $(ODIR)\animated.exe
  23. !else
  24.    icc $(CFLAGS) /B"$(LFLAGS)" /Fe$(ODIR)\animated.exe  $(ODIR)\animated.obj $(ODIR)\animated.res
  25. !endif
  26.  
  27. $(ODIR)\animated.obj: animated.cpp animated.h
  28.    icc $(CFLAGS) /C+  /Fo$(ODIR)\animated.obj  animated.cpp
  29.  
  30. $(ODIR)\animated.res:  animated.rc animated.h circle1.bmp circle2.bmp circle3.bmp circle4.bmp
  31.    $(RC) -r animated.rc $(ORES)
  32.  
  33. CREATEDIR:
  34.   @if not exist $(ODIR)* md $(ODIR)
  35.