home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / powergui / thread / improved / makefile < prev   
Makefile  |  1996-10-29  |  2KB  |  42 lines

  1. ################################################################
  2. # FILE NAME: makefile                                          #
  3. #                                                              #
  4. # DESCRIPTION:                                                 #
  5. #   makefile for IThread "improvement" sample programs:        #
  6. #     broken - Demonstrates problem                            #
  7. #     fixed  - Demonstrates improved IThread/IThreadFn         #
  8. #     easy   - Demonstrates simplified IThreadMemberFn         #
  9. #                                                              #
  10. # COPYRIGHT:                                                   #
  11. #   Licensed Materials - Property of Solution Frameworks       #
  12. #   Copyright (C) 1996, Solution Frameworks                    #
  13. #   All Rights Reserved                                        #
  14. ################################################################
  15. CFLAGS = /Ft- /Gd+ /Ge+ /Gm+ /Wall+gnr-ppc-ppt-uni-vft-
  16. LFLAGS = /PM:VIO
  17.  
  18. !ifdef IC_PM
  19. ODIR=.\os2
  20. !else
  21. ODIR=.\win
  22. !endif
  23.  
  24.  
  25. ALL :  CREATEDIR  \
  26.        $(ODIR)\broken.exe \
  27.        $(ODIR)\fixed.exe \
  28.        $(ODIR)\easy.exe
  29.  
  30. $(ODIR)\broken.exe :  broken.cpp improved.hpp
  31.    icc $(CFLAGS) /B"$(LFLAGS)"  /Fo$(ODIR)\broken.obj /Fe$@ broken.cpp
  32.  
  33. $(ODIR)\fixed.exe :  fixed.cpp improved.hpp
  34.    icc $(CFLAGS) /B"$(LFLAGS)" /Fo$(ODIR)\fixed.obj /Fe$@ fixed.cpp 
  35.  
  36. $(ODIR)\easy.exe :  easy.cpp improved.hpp
  37.    icc $(CFLAGS) /B"$(LFLAGS)" /Fo$(ODIR)\easy.obj /Fe$@ easy.cpp
  38.  
  39. CREATEDIR:
  40.   @if not exist $(ODIR) md $(ODIR)
  41.  
  42.