strip the kernel version suffix from target directories, except for brcm-2.4 (the...
[openwrt/openwrt.git] / target / linux / at91 / 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