From 4d23c99acd52451ad54716212bf0d79f90c611f8 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 27 Aug 2012 20:09:00 +0200 Subject: Win32 makefile for GUI testapp. --- plugingui/Makefile.mingw32 | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 plugingui/Makefile.mingw32 (limited to 'plugingui') diff --git a/plugingui/Makefile.mingw32 b/plugingui/Makefile.mingw32 new file mode 100644 index 0000000..dbea890 --- /dev/null +++ b/plugingui/Makefile.mingw32 @@ -0,0 +1,37 @@ +#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 + +CFLAGS=-DSTANDALONE -DWIN32 -DUSE_THREAD +LDFLAGS=-lgdi32 + +OBJECTS=$(PLUGIN_GUI_SOURCES:.cc=.o) + +all: $(PLUGIN_GUI_SOURCES) plugingui.exe + +plugingui.exe: $(OBJECTS) + g++ $(OBJECTS) $(LDFLAGS) -o $@ + +%.o: %.cc + g++ -c $(CFLAGS) $< -o $@ + +clean: + del -rf *.o plugingui.exe -- cgit v1.2.3