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

all: mtd

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

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

clean:
	rm -f *.o mtd