home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / powergui / buttons / pushbut / makefile next >
Makefile  |  1996-10-29  |  493b  |  23 lines

  1. ## Button Controls - Push 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. !else
  9. ODIR=.\win
  10. !endif
  11.  
  12.  
  13. ALL : CREATEDIR   $(ODIR)\pushbut.exe
  14.  
  15. $(ODIR)\pushbut.exe :  $(ODIR)\pushbut.obj
  16.    icc $(CFLAGS) /B"$(LFLAGS)" /Fe$(ODIR)\pushbut.exe $(ODIR)\pushbut.obj
  17.  
  18. $(ODIR)\pushbut.obj: pushbut.cpp pushbut.h
  19.    icc $(CFLAGS) /C+  /Fo$(ODIR)\pushbut.obj  pushbut.cpp
  20.  
  21. CREATEDIR:
  22.   @if not exist $(ODIR)* md $(ODIR)
  23.