summaryrefslogtreecommitdiffstats
path: root/tools/iio/Makefile
diff options
context:
space:
mode:
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>2015-02-26 10:49:25 +0200
committerJonathan Cameron <jic23@kernel.org>2015-03-09 17:16:08 +0000
commit817020cfb3a2649064a1e14e083934234e2c208d (patch)
treec6dba68cc57c7ccfef746cba3d44a67262c7f2dd /tools/iio/Makefile
parentbdcb31d048074d82ed7c50ed45f737d7637f1224 (diff)
downloadblackbird-op-linux-817020cfb3a2649064a1e14e083934234e2c208d.tar.gz
blackbird-op-linux-817020cfb3a2649064a1e14e083934234e2c208d.zip
iio: Move iio userspace applications out of staging
This patch moves iio userspace applications out of staging, to tools/iio/ and adds a Makefile in order to compile them easily. It also adds tools/iio/ to MAINTAINERS file. Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/iio/Makefile')
-rw-r--r--tools/iio/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/iio/Makefile b/tools/iio/Makefile
new file mode 100644
index 000000000000..83813ad379f9
--- /dev/null
+++ b/tools/iio/Makefile
@@ -0,0 +1,16 @@
+CC = gcc
+CFLAGS = -Wall -g
+
+all: iio_event_monitor lsiio generic_buffer
+
+iio_event_monitor: iio_event_monitor.o iio_utils.o
+
+lsiio: lsiio.o iio_utils.o
+
+generic_buffer: generic_buffer.o iio_utils.o
+
+%.o: %.c iio_utils.h
+
+.PHONY: clean
+clean:
+ rm -f *.o iio_event_monitor lsiio generic_buffer
OpenPOWER on IntegriCloud