diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-12-28 14:11:56 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-12-28 14:11:56 +0100 |
commit | f440919d67279ee5bf30ddb1b412e25725bcc2cf (patch) | |
tree | 8fe30a57dbaa344898e051b7d138251a064f8896 | |
parent | 158baca29943165acee2cb130059cf3b3ad3d6bb (diff) |
Use Makefile.am.plugingui included file list. Use -mwindows
-rw-r--r-- | plugingui/Makefile.mingw32 | 28 |
1 files changed, 5 insertions, 23 deletions
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 |