home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / powergui / canvas / lunchdlg / makefile < prev   
Makefile  |  1996-10-29  |  887b  |  36 lines

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