summaryrefslogtreecommitdiffstats
path: root/tools/iio/Makefile
blob: 3a7a54f59713809c7c8f2cda36461a07d55df191 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
CC = $(CROSS_COMPILE)gcc
CFLAGS += -Wall -g -D_GNU_SOURCE

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