summaryrefslogtreecommitdiffstats
path: root/imx_hid_recovery/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'imx_hid_recovery/Makefile')
-rw-r--r--imx_hid_recovery/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/imx_hid_recovery/Makefile b/imx_hid_recovery/Makefile
new file mode 100644
index 0000000..24d0b8e
--- /dev/null
+++ b/imx_hid_recovery/Makefile
@@ -0,0 +1,15 @@
+CC=gcc
+LD=gcc
+
+all: imx_hid_recovery
+
+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.o
+
+