blob: 3a7a54f59713809c7c8f2cda36461a07d55df191 [file] [log] [blame]
Linus Walleij54628682015-05-05 10:42:12 +02001CC = $(CROSS_COMPILE)gcc
2CFLAGS += -Wall -g -D_GNU_SOURCE
Roberta Dobrescu817020c2015-02-26 10:49:25 +02003
4all: iio_event_monitor lsiio generic_buffer
5
6iio_event_monitor: iio_event_monitor.o iio_utils.o
7
8lsiio: lsiio.o iio_utils.o
9
10generic_buffer: generic_buffer.o iio_utils.o
11
12%.o: %.c iio_utils.h
13
14.PHONY: clean
15clean:
16 rm -f *.o iio_event_monitor lsiio generic_buffer