cleanup mtd, implement jffs2write - one step closer to config preserving system upgrades
[openwrt/svn-archive/archive.git] / package / mtd / src / Makefile
index 99e3ad7..5ab7d7b 100644 (file)
@@ -1,12 +1,6 @@
-# $Id$
-
-all: mtd
-
-%.o: %.c
-       $(CC) -I. $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $^
-
-mtd: mtd.o
-       $(CC) -o $@ $^
+CC = gcc
+CFLAGS += -Wall
 
+mtd: mtd.o jffs2.o crc32.o
 clean:
-       rm -f *.o mtd
+       rm -f *.o jffs2