cairo/boilerplate/Makefile.win32
Vladimir Vukicevic 0e59041321 [win32] win32-specific Makefiles for building with MSVC
This patch adds a bunch of makefiles for building cairo with Visual C++.
gnu make is still required, and make must be run from a command prompt
that has the Visual C++ paths set up, as well as has the cygwin environment
in the path.  Run 'make -f Makefile.win32'.
2006-09-09 17:08:18 -07:00

18 lines
312 B
Text

CC = cl
CFLAGS = /nologo /Zi /O2 /I../src /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
SOURCES = \
cairo-boilerplate.c \
xmalloc.c \
$(NULL)
OBJECTS = $(subst .c,.obj,$(SOURCES))
all: boiler.lib
%.obj: %.c
@$(CC) $(CFLAGS) /c /Fo"$@" $<
boiler.lib: $(OBJECTS)
lib /NOLOGO /OUT:$@ $(OBJECTS)