blob: b69e2348f2a81b420c5a69a22beae4b6d3ceadfa [file] [log] [blame]
Mike Frysinger99596bd2011-04-08 12:23:30 +00001#
2# (C) Copyright 2000-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Mike Frysinger99596bd2011-04-08 12:23:30 +00006#
7
8include $(TOPDIR)/config.mk
9
10LIB = $(obj)libz.o
11
12COBJS-$(CONFIG_ZLIB) += zlib.o
13
14COBJS := $(COBJS-y)
15SRCS := $(COBJS:.o=.c)
16OBJS := $(addprefix $(obj),$(COBJS))
17
18$(LIB): $(obj).depend $(OBJS)
19 $(call cmd_link_o_target, $(OBJS))
20
21#########################################################################
22
23# defines $(obj).depend target
24include $(SRCTREE)/rules.mk
25
26sinclude $(obj).depend
27
28#########################################################################