imx_hid_recovery: rewrite Makefile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30830 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e9575bdf2f
commit
bf831106f5
1 changed files with 9 additions and 3 deletions
|
@ -1,9 +1,15 @@
|
|||
CC=gcc
|
||||
LD=gcc
|
||||
|
||||
all: imx_hid_recovery
|
||||
|
||||
imx_hid_recovery: imx_hid_recovery.c
|
||||
gcc -Wall -O2 -std=c99 `pkg-config --libs --cflags libusb-1.0` -o $@ $<
|
||||
imx_hid_recovery.o: imx_hid_recovery.c
|
||||
$(CC) -c -Wall -O2 -std=c99 `pkg-config --cflags libusb-1.0` -o $@ $<
|
||||
|
||||
imx_hid_recovery: imx_hid_recovery.o
|
||||
$(LD) -o $@ $< `pkg-config --libs libusb-1.0`
|
||||
|
||||
clean:
|
||||
rm -rf imx_hid_recovery
|
||||
rm -rf imx_hid_recovery.o
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue