diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2022-03-23 16:28:39 +0800 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2022-03-23 14:43:34 +0000 |
commit | 5077a639138b7948a121b79859d6744979ac39cf (patch) | |
tree | f39b55618855f952aac4552594999e4ddc216bb5 | |
parent | 47283d9d1bb1de4af4aa014a5192043ad5bc9f94 (diff) | |
download | neon-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.mak | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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:: |