mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-01 07:58:04 +02:00
There was a bad mix of LIBCMT (the static runtime lib) and MSVCRT (the dynamic one) before, because LIBCMT is the default. This specifies /MD everywhere.
18 lines
316 B
Text
18 lines
316 B
Text
CC = cl
|
|
CFLAGS = /nologo /MD /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)
|
|
|