Re-factoring the legacy NAND code (legacy NAND now only in board-specific
[platform/kernel/u-boot.git] / drivers / nand_legacy / Makefile
1 include $(TOPDIR)/config.mk
2
3 LIB := libnand_legacy.a
4
5 OBJS := nand_legacy.o
6 all:    $(LIB)
7
8 $(LIB): $(OBJS)
9         $(AR) crv $@ $(OBJS)
10
11 #########################################################################
12
13 .depend:        Makefile $(OBJS:.o=.c)
14                 $(CC) -M $(CFLAGS) $(OBJS:.o=.c) > $@
15
16 sinclude .depend