2015-02-26 11:49:25 +03:00
|
|
|
CC = gcc
|
2015-02-26 11:49:26 +03:00
|
|
|
CFLAGS = -Wall -g -D_GNU_SOURCE
|
2015-02-26 11:49:25 +03:00
|
|
|
|
|
|
|
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
|