summaryrefslogtreecommitdiffstats
path: root/package/mtd/src/Makefile
blob: 99e3ad7920bac87b117ba09fd2a0f312a4907810 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# $Id$

all: mtd

%.o: %.c
	$(CC) -I. $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $^

mtd: mtd.o
	$(CC) -o $@ $^

clean:
	rm -f *.o mtd