bb509be8ba261a8edf0d6662cd421e7eaf98baf1
[openwrt/staging/yousong.git] / package / mtd / src / Makefile
1 CC = gcc
2 CFLAGS += -Wall
3
4 obj = mtd.o jffs2.o crc32.o
5 obj.brcm = trx.o
6 obj.brcm47xx = $(obj.brcm)
7
8 ifdef FIS_SUPPORT
9 obj += fis.o
10 endif
11
12 mtd: $(obj) $(obj.$(TARGET))
13 clean:
14 rm -f *.o jffs2