diff options
Diffstat (limited to 'package/mtd/src/Makefile')
-rw-r--r-- | package/mtd/src/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/package/mtd/src/Makefile b/package/mtd/src/Makefile index 99e3ad792..5ab7d7b1e 100644 --- a/package/mtd/src/Makefile +++ b/package/mtd/src/Makefile @@ -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 |