]> git.saurik.com Git - wxWidgets.git/blame - samples/font/makefile.g95
compilation fix (patch 103882)
[wxWidgets.git] / samples / font / makefile.g95
CommitLineData
0e528b99
JS
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
10WXDIR = ../..
11
12TARGET=font
13OBJECTS = $(TARGET).o
14
259c933b
GRG
15include $(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
29OPT := $(filter-out -O -O1 -O2 -O3 -O4 -O5 -O6 -Os, $(OPT))
30
0e528b99 31