1 From 6375e1f233b9366ca0ba40fac785764df0a6edb2 Mon Sep 17 00:00:00 2001
2 From: W. Trevor King <wking@tremily.us>
3 Date: Tue, 21 Oct 2008 19:57:03 -0400
4 Subject: [PATCH] Added wxglade entry to Makefile for regenerating automatic code.
6 Also updated Makefile defaults for my Linux installation.
8 Makefile | 10 +++++++---
9 1 files changed, 7 insertions(+), 3 deletions(-)
11 diff --git a/Makefile b/Makefile
12 index ccb2e69..5edf183 100644
16 # The following two lines can be determined by running:
18 # wx-config --cppflags
19 -WX_CCFLAGS = -I/sw/lib/wx/include/mac-ansi-release-2.5 -I/sw/include/wx-2.5 -D__WXMAC__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWX_PRECOMP -DNO_GCC_PRAGMA
20 +WX_CCFLAGS = -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__
23 -WX_LIBS = -L/sw/lib -L/sw/lib -framework QuickTime -framework IOKit -framework Carbon -framework Cocoa -framework System -lwx_mac_xrc-2.5 -lwx_mac_html-2.5 -lwx_mac_adv-2.5 -lwx_mac_core-2.5 -lwx_base_carbon_xml-2.5 -lwx_base_carbon_net-2.5 -lwx_base_carbon-2.5
24 +WX_LIBS = -pthread -Wl,-Bsymbolic-functions -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8
26 # If fs_gui_wxwidgets is set, fs_kit gets compiled with the GUI
27 WX_FSKITFLAG = -Dfs_gui_wxwidgets
30 -CC_OPTIONS = -W -Wall -Wno-long-double -I/sw/include $(WX_FSKITFLAG) $(WX_CCFLAGS)
31 +#CC_OPTIONS = -W -Wall -Wno-long-double -I/sw/include $(WX_FSKITFLAG) $(WX_CCFLAGS)
32 +CC_OPTIONS = -W -Wall $(WX_FSKITFLAG) $(WX_CCFLAGS)
33 LNK_OPTIONS = -L/sw/lib -lgsl -lgslcblas -lstdc++ $(WX_LIBS)
36 @@ -185,3 +186,6 @@ fs_select_tree.o : src/fs_select_tree.cpp
41 +src/fs_gui_layout.cpp : src/fs_gui.wxg
42 + wxglade -g C++ -o src/fs_gui_layout src/fs_gui.wxg