changeset 7:c6099901f666

fix makefile ( for MinGW ).
author pyon@macmini
date Mon, 18 Apr 2011 18:59:41 +0900
parents 3e756069f215
children db7bd315e52c
files makefile src/preview.cpp
diffstat 2 files changed, 5 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/makefile	Sat Apr 16 09:59:09 2011 +0900
+++ b/makefile	Mon Apr 18 18:59:41 2011 +0900
@@ -1,6 +1,6 @@
 #
 # Makefile for wxWidgets Application
-#  Last Change: 16-Apr-2011.
+#  Last Change: 18-Apr-2011.
 #  by Takayuki Mutoh
 #
 
@@ -85,7 +85,7 @@
 # user include
 CPPFLAGS = $(WXCPPFLAGS) -I./include -I./img
 # user lib
-LIBS = -static-libgcc $(WXLIBS)
+LIBS = -static-libgcc -static-libstdc++ $(WXLIBS)
 
 
 ### Targets: ###
@@ -128,7 +128,7 @@
 
 $(EXECUTABLE): $(PROGNAME)
 ifdef COMSPEC
-	strip $(EXECUTABLE)
+	strip --strip-all $(EXECUTABLE)
 else
 	-mkdir -p $(PROGNAME).app/Contents
 	-mkdir -p $(PROGNAME).app/Contents/MacOS
--- a/src/preview.cpp	Sat Apr 16 09:59:09 2011 +0900
+++ b/src/preview.cpp	Mon Apr 18 18:59:41 2011 +0900
@@ -1,5 +1,5 @@
 // Filename   : preview.cpp
-// Last Change: 13-Apr-2011.
+// Last Change: 16-Apr-2011.
 //
 
 #include "preview.h"
@@ -15,7 +15,7 @@
 // constructor
 FramePreview::FramePreview( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
 {
-	this->SetSize( 1400, 1000 );
+	this->SetSize( 1200, 1000 );
     this->SetBackgroundColour( wxColour(wxT("WHEAT")) );
 	
 	wxBoxSizer* bSizer;
@@ -134,4 +134,3 @@
     return;
 }
 
-