home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / powergui / thread / simple / makefile next >
Makefile  |  1996-10-29  |  1KB  |  30 lines

  1. ################################################################
  2. # FILE NAME: makefile                                          #
  3. #                                                              #
  4. # DESCRIPTION:                                                 #
  5. #   makefile for simple thread demo program                    #
  6. #                                                              #
  7. # COPYRIGHT:                                                   #
  8. #   Licensed Materials - Property of Solution Frameworks       #
  9. #   Copyright (C) 1996, Solution Frameworks                    #
  10. #   All Rights Reserved                                        #
  11. ################################################################
  12. CFLAGS = /Ft- /Gd+ /Ge+ /Gm+ /Wall+gnr-ppc-ppt-uni-vft-
  13. LFLAGS = /PM:PM
  14.  
  15. !ifdef IC_PM
  16. ODIR=.\os2
  17. !else
  18. ODIR=.\win
  19. !endif
  20.  
  21.  
  22. ALL :  CREATEDIR  $(ODIR)\simple.exe
  23.  
  24. $(ODIR)\simple.exe :  simple.cpp
  25.    icc $(CFLAGS) /B"$(LFLAGS)" /Fo$(ODIR)\simple.obj /Fe$@ simple.cpp
  26.  
  27. CREATEDIR:
  28.   @if not exist $(ODIR) md $(ODIR)
  29.  
  30.