Roberta Dobrescu | 817020c | 2015-02-26 10:49:25 +0200 | [diff] [blame] | 1 | CC = gcc |
Roberta Dobrescu | 976d9ab | 2015-02-26 10:49:26 +0200 | [diff] [blame] | 2 | CFLAGS = -Wall -g -D_GNU_SOURCE |
Roberta Dobrescu | 817020c | 2015-02-26 10:49:25 +0200 | [diff] [blame] | 3 | |
4 | all: iio_event_monitor lsiio generic_buffer | ||||
5 | |||||
6 | iio_event_monitor: iio_event_monitor.o iio_utils.o | ||||
7 | |||||
8 | lsiio: lsiio.o iio_utils.o | ||||
9 | |||||
10 | generic_buffer: generic_buffer.o iio_utils.o | ||||
11 | |||||
12 | %.o: %.c iio_utils.h | ||||
13 | |||||
14 | .PHONY: clean | ||||
15 | clean: | ||||
16 | rm -f *.o iio_event_monitor lsiio generic_buffer |