summaryrefslogtreecommitdiff
path: root/target/linux/at91-2.6/image/u-boot/ubclient/Makefile
blob: f8ff67cd1874501478aa01540b164d35d8961531 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#

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