Openwrt/package/mtd/src/Makefile
2016-03-20 17:29:15 +01:00

13 lines
123 B
Makefile

# $Id$
all: mtd
%.o: %.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $^
mtd: mtd.o
$(CC) -o $@ $^
clean:
rm -f *.o mtd