summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '3rdParty/ZLib/Makefile.inc')
-rw-r--r--3rdParty/ZLib/Makefile.inc24
1 files changed, 24 insertions, 0 deletions
diff --git a/3rdParty/ZLib/Makefile.inc b/3rdParty/ZLib/Makefile.inc
new file mode 100644
index 0000000..479a883
--- /dev/null
+++ b/3rdParty/ZLib/Makefile.inc
@@ -0,0 +1,24 @@
+CXXFLAGS += -isystem 3rdParty/ZLib/src
+CFLAGS += -isystem 3rdParty/ZLib/src
+
+ZLIB_SOURCES += \
+ 3rdParty/ZLib/src/adler32.c \
+ 3rdParty/ZLib/src/compress.c \
+ 3rdParty/ZLib/src/crc32.c \
+ 3rdParty/ZLib/src/deflate.c \
+ 3rdParty/ZLib/src/gzio.c \
+ 3rdParty/ZLib/src/infback.c \
+ 3rdParty/ZLib/src/inffast.c \
+ 3rdParty/ZLib/src/inflate.c \
+ 3rdParty/ZLib/src/inftrees.c \
+ 3rdParty/ZLib/src/trees.c \
+ 3rdParty/ZLib/src/uncompr.c \
+ 3rdParty/ZLib/src/zutil.c
+
+ZLIB_OBJECTS = \
+ $(ZLIB_SOURCES:.c=.o)
+
+CLEANFILES += \
+ $(ZLIB_SOURCES:.c=.gcda) \
+ $(ZLIB_SOURCES:.c=.gcno) \
+ $(ZLIB_OBJECTS)