blob: bf7ae6d6612a1b86948781c1f2cf9c575e3c54bf [file] [log] [blame]
Roberta Dobrescu817020c2015-02-26 10:49:25 +02001CC = gcc
Roberta Dobrescu976d9ab2015-02-26 10:49:26 +02002CFLAGS = -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