1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-06 19:21:50 +02:00
openwrt/target/linux/at91/image/u-boot/ubclient/Makefile

16 lines
240 B
Makefile

#
all: ubpar
crc32.c:
ln -s ../lib_generic/crc32.c ./
%.o: %.c
$(CC) -I ../include $(CFLAGS) $(EXTRA_FLAGS) -DLAN_IP=$(LAN_IP) -DLAN_SERVERIP=$(LAN_SERVERIP) -c -o $@ $^
ubpar: ubpar.o crc32.o
$(CC) -o $@ $^
clean:
rm -f *.o ubpar