summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2012-08-27 20:09:00 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2012-08-27 20:09:00 +0200
commit4d23c99acd52451ad54716212bf0d79f90c611f8 (patch)
tree9fef9c910609644dec8c71cd6ed2be0db6ae47c3
parenteb4ebe23b1ae3e81152d1abf3001757beb7cdb65 (diff)
Win32 makefile for GUI testapp.
-rw-r--r--plugingui/Makefile.mingw3237
1 files changed, 37 insertions, 0 deletions
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