mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-13 00:03:26 +09:00
ac7eb8a315
Patch by Ladislav Michl, 13 Sep 2005
17 lines
324 B
Makefile
17 lines
324 B
Makefile
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
|