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

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