-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
23 lines (18 loc) · 910 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.PHONY: all install clean distclean check
all:
(cd sdr/libraries/captivation.libhackrf/cpp && ./reconf; ./configure; make -j2)
(cd sdr/devices/captivation.HackRFOne/cpp && ./reconf; ./configure; make -j2)
install:
(cd sdr/libraries/captivation.libhackrf/cpp && ./reconf; ./configure; make install -j2)
(cd sdr/devices/captivation.HackRFOne/cpp && ./reconf; ./configure; make install -j2)
mkdir -p /var/redhawk/sdr/dev/nodes/captivation/
cp -r sdr/nodes/captivation.HackRFNode /var/redhawk/sdr/dev/nodes/captivation/HackRFNode
clean:
(cd sdr/libraries/captivation.libhackrf/cpp && make clean)
(cd sdr/devices/captivation.HackRFOne/cpp && make clean)
distclean:
(cd sdr/libraries/captivation.libhackrf/cpp && make distclean)
(cd sdr/devices/captivation.HackRFOne/cpp && make distclean)
check:
@echo "Warn: 'sudo' permissions may be necessary for device to access USB"
./scripts/launch_hackrf.sh