From f440919d67279ee5bf30ddb1b412e25725bcc2cf Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 28 Dec 2012 14:11:56 +0100 Subject: Use Makefile.am.plugingui included file list. Use -mwindows --- plugingui/Makefile.mingw32 | 28 +++++----------------------- 1 file changed, 5 insertions(+), 23 deletions(-) (limited to 'plugingui/Makefile.mingw32') diff --git a/plugingui/Makefile.mingw32 b/plugingui/Makefile.mingw32 index dbea890..b03dbab 100644 --- a/plugingui/Makefile.mingw32 +++ b/plugingui/Makefile.mingw32 @@ -1,27 +1,9 @@ -#top_srcdir=.. -#include Makefile.am.plugingui - -PLUGIN_GUI_SOURCES = \ - plugingui.cc \ - globalcontext.cc \ - label.cc \ - eventhandler.cc \ - font.cc \ - window.cc \ - widget.cc \ - colour.cc \ - painter.cc \ - button.cc \ - pixelbuffer.cc \ - filelineedit.cc \ - lineedit.cc \ - led.cc \ - checkbox.cc \ - slider.cc \ - thread.cc +top_srcdir=.. +include Makefile.am.plugingui CFLAGS=-DSTANDALONE -DWIN32 -DUSE_THREAD -LDFLAGS=-lgdi32 +LDFLAGS=-mwindows +#-lgdi32 OBJECTS=$(PLUGIN_GUI_SOURCES:.cc=.o) @@ -31,7 +13,7 @@ plugingui.exe: $(OBJECTS) g++ $(OBJECTS) $(LDFLAGS) -o $@ %.o: %.cc - g++ -c $(CFLAGS) $< -o $@ + g++ -O3 -c $(CFLAGS) $< -o $@ clean: del -rf *.o plugingui.exe -- cgit v1.2.3