[lantiq] add vdsl firmware loader/cutter
[openwrt/svn-archive/archive.git] / package / platform / lantiq / ltq-vdsl-fw / src / Makefile
1 PROG=w921v_fw_cutter
2 OBJS=w921v_fw_cutter.c LzmaDecode.c LzmaWrapper.c
3
4 all: $(PROG)
5
6 $(PROG): $(OBJS)
7 $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@
8
9 clean:
10 rm *.o $(PROG)
11
12 %.o: %.c
13 $(CC) $(CFLAGS) -c $^ -o $@