home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
wxos2233.zip
/
wxOS2-2_3_3.zip
/
wxWindows-2.3.3
/
samples
/
font
/
makefile.g95
< prev
next >
Wrap
Makefile
|
2000-01-16
|
716b
|
32 lines
#
# File: makefile.g95
# Author: Julian Smart
# Created: 1999
# Updated:
# Copyright: (c) Julian Smart, 1999
#
# Makefile for wxWindows sample (Cygwin/Mingw32).
WXDIR = ../..
TARGET=font
OBJECTS = $(TARGET).o
include $(WXDIR)/src/makeprog.g95
# There is a bug in all 2.95.x versions of gcc that will cause
# unresolved # references when linking the example here. It has
# to do with class nesting. Only happens when optimization is
# turned on.
#
# See:
#
# Linkname: g++ bug with classes nested inside functions
# URL: http://gcc.gnu.org/ml/gcc-bugs/1999-11/msg00524.html
#
# for more info.
OPT := $(filter-out -O -O1 -O2 -O3 -O4 -O5 -O6 -Os, $(OPT))