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

LIB := libnand_legacy.a

OBJS := nand_legacy.o
all:	$(LIB)

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

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

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

sinclude .depend