From b45fda9459f65c38815c782672ecc159abbc4eba Mon Sep 17 00:00:00 2001 From: Quantum Date: Thu, 12 Sep 2013 20:38:45 -0400 Subject: [PATCH] Stupid linker options. Signed-off-by: Xiaomao Chen --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 84d62f2..0924517 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -8,7 +8,7 @@ RC=$(KROSS)windres LINK = $(CXX) CFLAGS = -O3 -Iinclude -DUNICODE -D_UNICODE -DWIN32_LEAN_AND_MEAN -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 RCFLAGS = -Iinclude -LDFLAGS = -s +LDFLAGS = -s -static -static-libstdc++ -mwindows -lgdi32 -lwinmm -lcomctl32 -lcomdlg32 FILES=build/Keyboard.o build/MainWindow.o build/Window.o \ build/PianoControl.o build/midifile.o build/resources.o