From a91350732c308c2f0ea6a73d55b2a3a13771e1c1 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 20 Aug 2007 16:12:24 +0000 Subject: cleanup mtd, implement jffs2write - one step closer to config preserving system upgrades SVN-Revision: 8444 --- package/mtd/src/Makefile | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'package/mtd/src/Makefile') diff --git a/package/mtd/src/Makefile b/package/mtd/src/Makefile index 99e3ad7..5ab7d7b 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 -- cgit v1.1