1 # Build some Cairo/Gtk test programs under Wine.
3 CFLAGS = -g `pkg-config --cflags gtk+-2.0`
4 LIBS = `pkg-config --libs gtk+-2.0`
6 MINGW32_LIBDIR=/usr/i686-pc-mingw32/sys-root/mingw/lib
8 all: svgspacewar svgspacewar.exe
10 svgspacewar: svgspacewar.c
11 gcc $(CFLAGS) $< $(LIBS) -o $@
13 svgspacewar.exe: svgspacewar.c
14 export PKG_CONFIG_PATH=$(MINGW32_LIBDIR)/pkgconfig; \
15 i686-pc-mingw32-gcc $(CFLAGS) $< $(LIBS) -o $@
18 rm -f svgspacewar svgspacewar.exe *~