blob: 9cf80c94c27c559228bbf2dcf94e163c1f5d56cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Makefile used to compile zlib statically
#
ZLIB_LIB := $(SRC_PATH)/libz.a
ZLIB_CFLAGS := -I$(ZLIB_DIR)
include $(ZLIB_DIR)/sources.make
ZLIB_OBJS := $(ZLIB_SOURCES:%.c=%.o)
$(ZLIB_LIB): $(ZLIB_OBJS)
ar ru $(ZLIB_LIB) $(ZLIB_OBJS)
$(ZLIB_OBJS): CFLAGS += $(ZLIB_CFLAGS)
clean-zlib:
rm -f $(ZLIB_OBJS) $(zlib_lib)
|