2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # SPDX-License-Identifier: GPL-2.0+
8 include $(TOPDIR)/config.mk
10 #CFLAGS += -DET_DEBUG -DDEBUG
14 COBJS-$(CONFIG_PARTITIONS) += part.o
15 COBJS-$(CONFIG_MAC_PARTITION) += part_mac.o
16 COBJS-$(CONFIG_DOS_PARTITION) += part_dos.o
17 COBJS-$(CONFIG_ISO_PARTITION) += part_iso.o
18 COBJS-$(CONFIG_AMIGA_PARTITION) += part_amiga.o
19 COBJS-$(CONFIG_EFI_PARTITION) += part_efi.o
22 SRCS := $(COBJS:.o=.c)
23 OBJS := $(addprefix $(obj),$(COBJS))
27 $(LIB): $(obj).depend $(OBJS)
28 $(call cmd_link_o_target, $(OBJS))
30 #########################################################################
32 # defines $(obj).depend target
33 include $(SRCTREE)/rules.mk
35 sinclude $(obj).depend
37 #########################################################################