From 8adda9187304d8f06f907bfebc93e47207fa4796 Mon Sep 17 00:00:00 2001 From: FreeArtMan <=> Date: Sat, 19 Sep 2015 20:28:13 +0100 Subject: Added few rtlsdr tests. List all devices. Try to read sample. --- test/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/Makefile (limited to 'test/Makefile') diff --git a/test/Makefile b/test/Makefile new file mode 100644 index 0000000..8e36d37 --- /dev/null +++ b/test/Makefile @@ -0,0 +1,15 @@ +CC=gcc +CFLAGS=-I../../r820t/include +LDFLAGS= `pkg-config --libs libusb` -L../../../r820t -lr820t -Wl,-rpath=../../../r820t + +SOURCE += $(wildcard *.c) +BIN = $(SOURCE:.c=) + +make: $(BIN) + @echo $< + +%: %.c + $(CC) $(LDFLAGS) $(CFLAGS) $< -o $@ + +clean: + rm -f $(BIN) \ No newline at end of file -- cgit v1.2.3