summaryrefslogtreecommitdiff
path: root/drivers/nand/Makefile
blob: 3906bf951d1c19ac6db172b2a74477c3618baef5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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