aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 7317e7e19c1460f407f22387d1c1a587ce0bf4f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
CFLAGS=-g -Wall -Werror

all:
	gcc $(CFLAGS) -c arm-probe.c
	gcc $(CFLAGS) -c avg-mean-us.c
	gcc $(CFLAGS) -c configuration.c
	gcc $(CFLAGS) -c interpolation.c
	gcc $(CFLAGS) -c sample.c
	gcc $(CFLAGS) -o arm-probe \
			 arm-probe.o \
			 avg-mean-us.o \
			 configuration.o \
			 interpolation.o \
			 sample.o

clean:
	rm -f arm-probe *.o

install: all
	cp arm-probe $(DESTDIR)/usr/bin
	cp scripts/* $(DESTDIR)/usr/bin