Added config parameters for u-boot client IP address as well as TFTP
[openwrt-10.03/.git] / target / linux / at91-2.6 / image / u-boot / ubclient / Makefile
1 #
2
3 all: ubpar
4
5 crc32.c:
6         ln -s ../lib_generic/crc32.c ./
7
8 %.o: %.c
9         $(CC) -I ../include $(CFLAGS) $(EXTRA_FLAGS) -DLAN_IP=$(LAN_IP) -DLAN_SERVERIP=$(LAN_SERVERIP) -c -o $@ $^
10
11 ubpar: ubpar.o crc32.o
12         $(CC) -o $@ $^
13
14 clean:
15         rm -f *.o ubpar