summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorFreeArtMan <=>2015-09-19 20:28:13 +0100
committerFreeArtMan <=>2015-09-19 20:28:13 +0100
commit8adda9187304d8f06f907bfebc93e47207fa4796 (patch)
tree4bd55c6ee2147ee60a821ad96f9895e25b49d06c /test/Makefile
parent4d44686f727d65b82a7c43121b6e4290c8e3b7ec (diff)
downloadradiola-8adda9187304d8f06f907bfebc93e47207fa4796.tar.gz
radiola-8adda9187304d8f06f907bfebc93e47207fa4796.zip
Added few rtlsdr tests. List all devices. Try to read sample.
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile15
1 files changed, 15 insertions, 0 deletions
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