diff options
Diffstat (limited to 'make/msvc.mk')
-rw-r--r-- | make/msvc.mk | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/make/msvc.mk b/make/msvc.mk index 3e061091..1dafbcf0 100644 --- a/make/msvc.mk +++ b/make/msvc.mk @@ -24,10 +24,10 @@ clean:: # --- Required rule definitions --- -# 1 2 -# Usage: $(call compile,src,includes) +# 1 2 3 +# Usage: $(call compile,src,includes,xflags) define compile - cl -nologo -O2 -Zi -Gy -EHsc -MD -TP -GR $(CPPFLAGS) $(CXXFLAGS) \ + cl -nologo -O2 -Zi -Gy -EHsc -MD -TP -GR $(CPPFLAGS) $(CXXFLAGS) $(3) \ $(foreach I,$(2),-I$(I)) \ -c $(1) -Fo$(call src_to_obj,$(1)) endef @@ -92,6 +92,5 @@ endef # Install target INSTALL_DIR = install-msvc$(WINDOWS_WORDSIZE) -STATIC_LIB_NAME = qpdf.lib include make/installwin.mk install: installwin |