diff options
author | Amaury Pouly <pamaury@rockbox.org> | 2011-10-23 14:20:00 +0000 |
---|---|---|
committer | Amaury Pouly <pamaury@rockbox.org> | 2011-10-23 14:20:00 +0000 |
commit | bf831106f5edaa383f441cacabb1c8fe081c851f (patch) | |
tree | 7786f1116c097c1034b26aa14042acb01602d4a8 | |
parent | e9575bdf2f72789ee931df0cce07b21e3c76cc6f (diff) | |
download | rockbox-bf831106f5edaa383f441cacabb1c8fe081c851f.tar.gz rockbox-bf831106f5edaa383f441cacabb1c8fe081c851f.zip |
imx_hid_recovery: rewrite Makefile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30830 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | utils/imx_hid_recovery/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/utils/imx_hid_recovery/Makefile b/utils/imx_hid_recovery/Makefile index 291d5db225..24d0b8e3d3 100644 --- a/utils/imx_hid_recovery/Makefile +++ b/utils/imx_hid_recovery/Makefile | |||
@@ -1,9 +1,15 @@ | |||
1 | CC=gcc | ||
2 | LD=gcc | ||
3 | |||
1 | all: imx_hid_recovery | 4 | all: imx_hid_recovery |
2 | 5 | ||
3 | imx_hid_recovery: imx_hid_recovery.c | 6 | imx_hid_recovery.o: imx_hid_recovery.c |
4 | gcc -Wall -O2 -std=c99 `pkg-config --libs --cflags libusb-1.0` -o $@ $< | 7 | $(CC) -c -Wall -O2 -std=c99 `pkg-config --cflags libusb-1.0` -o $@ $< |
8 | |||
9 | imx_hid_recovery: imx_hid_recovery.o | ||
10 | $(LD) -o $@ $< `pkg-config --libs libusb-1.0` | ||
5 | 11 | ||
6 | clean: | 12 | clean: |
7 | rm -rf imx_hid_recovery | 13 | rm -rf imx_hid_recovery.o |
8 | 14 | ||
9 | 15 | ||