aboutsummaryrefslogtreecommitdiffstats
path: root/host/apps/omap_debug/Makefile
blob: e2aa384f22eb378f2cf489257b23f5a6146d8d0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
CFLAGS=-Wall -I../../lib/usrp/usrp_e/

all : usrp-e-spi usrp-e-i2c usrp-e-rw usrp-e-uart usrp-e-led usrp-e-ctl usrp-e-button usrp-e-uart-rx fpga-downloader usrp-e-gpio usrp-e-debug-pins usrp-e-rw-random usrp-e-fpga-rw usrp-e-lb-test usrp-e-crc-rw clkgen-config

usrp-e-spi : usrp-e-spi.c

usrp-e-i2c : usrp-e-i2c.c

usrp-e-rw : usrp-e-rw.c
	gcc -o $@ $< -lpthread

usrp-e-fpga-rw : usrp-e-fpga-rw.c
	gcc -o $@ $< -lpthread

usrp-e-rw-random : usrp-e-rw-random.c
	gcc -o $@ $< -lpthread

usrp-e-crc-rw : usrp-e-crc-rw.c
	gcc -o $@ $< -lpthread

usrp-e-uart : usrp-e-uart.c

usrp-e-uart-rx : usrp-e-uart-rx.c

usrp-e-led : usrp-e-led.c

usrp-e-ctl : usrp-e-ctl.c

usrp-e-button : usrp-e-button.c

fpga-downloader : fpga-downloader.cc

clkgen-config : clkgen-config.cc

usrp-e-gpio : usrp-e-gpio.c

usrp-e-lb-test : usrp-e-lb-test.c

usrp-e-debug-pins : usrp-e-debug-pins.c
clean :
	rm -f usrp-e-spi
	rm -f usrp-e-i2c
	rm -f usrp-e-rw
	rm -f usrp-e-fpga-rw
	rm -f usrp-e-rw-random
	rm -f usrp-e-uart
	rm -f usrp-e-uart-rx
	rm -f usrp-e-led
	rm -f usrp-e-ctl
	rm -f usrp-e-button
	rm -f fpga-downloader
	rm -f usrp-e-gpio
	rm -f usrp-e-debug-pins
	rm -f usrp-e-lb-test
	rm -f usrp-e-crc-rw
	rm -f clkgen-config