forked from rad1o/f1rmware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (32 loc) · 863 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
all: lib hackrf subdirs
travis:
$(MAKE) ADDFLAGS=-Werror lib hackrf subdirs
$(MAKE) -C smartflash test
subdirs:
$(MAKE) -C campapp
$(MAKE) -C testapp
$(MAKE) -C bootloader
$(MAKE) -C flashapp
$(MAKE) -C l0dables
$(MAKE) -C smartflash
libopencm3/README:
git submodule init
git submodule update
libopencm3/lib/libopencm3_lpc43xx.a:
cd libopencm3 && make
lib: libopencm3/README libopencm3/lib/libopencm3_lpc43xx.a
hackrf/Readme.md:
git submodule init
git submodule update
hackrf/firmware/hackrf_usb/build/hackrf_usb.bin:
$(MAKE) -C hackrf
hackrf: hackrf/Readme.md hackrf/firmware/hackrf_usb/build/hackrf_usb.bin
clean:
$(MAKE) -C campapp clean
$(MAKE) -C testapp clean
$(MAKE) -C bootloader clean
$(MAKE) -C flashapp clean
$(MAKE) -C l0dables clean
$(MAKE) -C smartflash clean
$(MAKE) -C hackrf hack-clean
# cd libopencm3 && make clean