cairo/test/pdiff/Makefile.win32
Jeff Muizelaar 2d6336624c [test-win32] Fix static linking of the test suite.
Previously, the test suite needed to be dynamically linked to work.
2009-04-01 11:32:58 -04:00

19 lines
322 B
Text

top_srcdir = ../..
include $(top_srcdir)/build/Makefile.win32.common
CFLAGS += -I../../src
SOURCES = \
lpyramid.c \
pdiff.c \
$(NULL)
OBJECTS = $(subst .c,.obj,$(SOURCES))
all: pdiff.lib
pdiff.lib: $(OBJECTS)
lib -NOLOGO -OUT:$@ $(OBJECTS)
%.obj: %.c
@$(CC) $(CFLAGS) -DCAIRO_WIN32_STATIC_BUILD=1 -c -Fo"$@" $<