forked from borgestrand/sdr-widget
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (21 loc) · 693 Bytes
/
Copy pathMakefile
File metadata and controls
26 lines (21 loc) · 693 Bytes
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
##
## make both the widget
## and the widget-control that matches
## the features in the widget
##
## assumes that you've set the AVR32BIN environment
## to point to the directory containing avr32-gcc
all:: Release/widget.elf widget-control
Release/widget.elf::
./make-widget
audio-widget::
rm -f Release/widget.elf Release/src/features.o
CFLAGS=-DFEATURE_DEFAULT_BOARD=feature_board_dib ./make-widget
sdr-widget::
rm -f Release/widget.elf Release/src/features.o
CFLAGS=-DFEATURE_DEFAULT_BOARD=feature_board_widget ./make-widget
widget-control: widget-control.c src/features.h
gcc -o widget-control widget-control.c -lusb-1.0
clean::
cd Release && make clean
rm -f widget-control