]>
Commit | Line | Data |
---|---|---|
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 | ||
10 | WXDIR = ../.. | |
11 | ||
12 | TARGET=font | |
13 | OBJECTS = $(TARGET).o | |
14 | ||
259c933b GRG |
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 | ||
0e528b99 | 31 |