summaryrefslogtreecommitdiff
path: root/examples/makefile.mingw
diff options
context:
space:
mode:
Diffstat (limited to 'examples/makefile.mingw')
-rw-r--r--examples/makefile.mingw22
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/makefile.mingw b/examples/makefile.mingw
new file mode 100644
index 00000000..259e02af
--- /dev/null
+++ b/examples/makefile.mingw
@@ -0,0 +1,22 @@
+PANGO_VER = 0.12
+
+TOP = ../..
+
+include $(TOP)/build/win32/make.mingw
+
+OPTIMIZE = -g
+
+INCLUDES = -I .. -I .
+DEFINES =
+DEPCFLAGS = $(GTK_CFLAGS) $(GLIB_CFLAGS)
+
+all : \
+ ../config.h \
+ viewer-win32.exe
+
+../config.h : ../config.h.win32
+ cp $< $@
+
+viewer-win32.exe : viewer-win32.o
+ $(CC) -o $@ $< -L ../pango -lpango-$(PANGO_VER) -lpangowin32-$(PANGO_VER) $(GTK_LIBS) $(GLIB_LIBS) -gdi32
+