summaryrefslogtreecommitdiff
path: root/drivers/nand/Makefile
blob: 96f67dfca8877dac5bdefc412c7a78737744811c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
include $(TOPDIR)/config.mk

LIB := libnand.a

OBJS := nand.o nand_base.o nand_ids.o nand_ecc.o nand_bbt.o
all:	$(LIB)

$(LIB):	$(OBJS)
	$(AR) crv $@ $(OBJS)

#########################################################################

.depend:	Makefile $(OBJS:.o=.c)
		$(CC) -M $(CFLAGS) $(OBJS:.o=.c) > $@

sinclude .depend