home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2240.zip / wxWindows-2.4.0 / samples / font / makefile.g95 < prev    next >
Makefile  |  2000-01-16  |  716b  |  32 lines

  1. #
  2. # File:         makefile.g95
  3. # Author:       Julian Smart
  4. # Created:      1999
  5. # Updated:
  6. # Copyright:    (c) Julian Smart, 1999
  7. #
  8. # Makefile for wxWindows sample (Cygwin/Mingw32).
  9.  
  10. WXDIR = ../..
  11.  
  12. TARGET=font
  13. OBJECTS = $(TARGET).o
  14.  
  15. include $(WXDIR)/src/makeprog.g95
  16.  
  17. # There is a bug in all 2.95.x versions of gcc that will cause
  18. # unresolved # references when linking the example here. It has
  19. # to do with class nesting. Only happens when optimization is
  20. # turned on.
  21. #
  22. # See:
  23. #
  24. #   Linkname: g++ bug with classes nested inside functions
  25. #   URL: http://gcc.gnu.org/ml/gcc-bugs/1999-11/msg00524.html
  26. #
  27. # for more info.
  28.  
  29. OPT := $(filter-out -O -O1 -O2 -O3 -O4 -O5 -O6 -Os, $(OPT))
  30.  
  31.  
  32.