summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2022-03-23 16:28:39 +0800
committerJoe Orton <jorton@apache.org>2022-03-23 14:43:34 +0000
commit5077a639138b7948a121b79859d6744979ac39cf (patch)
treef39b55618855f952aac4552594999e4ddc216bb5
parent47283d9d1bb1de4af4aa014a5192043ad5bc9f94 (diff)
downloadneon-git-5077a639138b7948a121b79859d6744979ac39cf.tar.gz
neon.mak: Prepare to support existing deps
Add a macro so that we can expand it for using existing libraries during the build, to link into the final binary.
-rw-r--r--neon.mak4
1 files changed, 3 insertions, 1 deletions
diff --git a/neon.mak b/neon.mak
index e8ca03c..f19958a 100644
--- a/neon.mak
+++ b/neon.mak
@@ -20,6 +20,8 @@ CFLAGS = /MDd /W3 /Gm /EHsc /Zi /Od /D "_DEBUG"
TARGET = .\libneonD.lib
!ENDIF
+NE_DEP_LIBS =
+
# Silence deprecation warnings on later Visual Studio versions, which
# actually can be ignored
CFLAGS = $(CFLAGS) /D _CRT_SECURE_NO_WARNINGS /D _CRT_NONSTDC_NO_WARNINGS /D _WINSOCK_DEPRECATED_NO_WARNINGS
@@ -197,7 +199,7 @@ CLEAN: $(ZLIB_CLEAN)
"$(TARGET)": $(DEF_FILE) $(LIB32_OBJS)
-@if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)"
$(LIB32) @<<
- $(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
+ $(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS) $(NE_DEP_LIBS)
<<
{src}.c{$(INTDIR)}.obj::