From 6b85a7d453414d31432e63045581b2602d4abf45 Mon Sep 17 00:00:00 2001 From: FreeArtMan <=> Date: Tue, 22 Sep 2015 21:37:16 +0100 Subject: Added tui interface, updated gitignores, updated makefiles --- test/.gitignore | 3 ++- test/Makefile | 5 ++--- test/get_device_list.c | 2 +- test/read_samples.c | 2 +- test/ui_tui_waterfall.c | 11 +++++++++++ 5 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 test/ui_tui_waterfall.c (limited to 'test') diff --git a/test/.gitignore b/test/.gitignore index 3fc1845..bc5e3c4 100644 --- a/test/.gitignore +++ b/test/.gitignore @@ -1,3 +1,4 @@ get_device_list read_samples -*.o \ No newline at end of file +ui_tui_waterfall +*.o diff --git a/test/Makefile b/test/Makefile index 5ee5a91..7fb106d 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,7 +1,7 @@ CC=gcc -CFLAGS= +CFLAGS=-I../ #LDFLAGS= `pkg-config --libs libusb` -L../../../r820t -lr820t -Wl,-rpath=../../../r820t -LDFLAGS=`pkg-config --libs libusb` -lrtlsdr +LDFLAGS=`pkg-config --libs libusb` -lrtlsdr ../radiola.o SOURCE = $(wildcard *.c) OBJECTS = BIN = $(SOURCE:.c=) @@ -15,6 +15,5 @@ BIN = $(SOURCE:.c=) make: $(BIN) - clean: rm -f $(BIN) \ No newline at end of file diff --git a/test/get_device_list.c b/test/get_device_list.c index f65c551..867929a 100644 --- a/test/get_device_list.c +++ b/test/get_device_list.c @@ -3,7 +3,7 @@ #include //rtlsdr -#include +#include int main( ) { diff --git a/test/read_samples.c b/test/read_samples.c index 4ecf7be..2234cb8 100644 --- a/test/read_samples.c +++ b/test/read_samples.c @@ -2,7 +2,7 @@ #include //r820t -#include +#include void read_samples( uint32_t dev_index ) { diff --git a/test/ui_tui_waterfall.c b/test/ui_tui_waterfall.c new file mode 100644 index 0000000..a0a83bc --- /dev/null +++ b/test/ui_tui_waterfall.c @@ -0,0 +1,11 @@ +#include +#include + +//radiola +#include + +int main() +{ + + return 0; +} \ No newline at end of file -- cgit v1.2.3