rk27load: fix linking with newer toolchains

Change-Id: Id8f86e9f5ca78f41ef4e6c6a9244031afe83389d
This commit is contained in:
Marcin Bukat 2012-02-28 15:52:08 +01:00
parent 0cc6ba018e
commit 7569450d8e

View file

@ -1,7 +1,7 @@
all: rk27load
rk27load: main.c scramble.c checksum.c common.c stage1_upload.c stage2_upload.c stage3_upload.c
gcc -g -std=c99 -o $@ -W -Wall -lusb-1.0 -I/usr/include/libusb-1.0/ $^
gcc -g -std=c99 -o $@ -W -Wall -I/usr/include/libusb-1.0/ $^ -lusb-1.0
clean:
rm -fr *.o rk27load