From 06e90a22000b6b0189d4ca7826e2fe374dc8f663 Mon Sep 17 00:00:00 2001 From: MaoJianwei Date: Tue, 10 Jan 2017 16:36:56 +0800 Subject: [PATCH] pre-install rtlsdr lib for compile pre-install rtlsdr lib for compile --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6bfe9ee14..8660767be 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,10 @@ LIBS=`pkg-config --libs librtlsdr` -lpthread -lm CC=gcc -all: dump1090 view1090 +all: librtlsdrReady dump1090 view1090 + +librtlsdrReady: + sudo apt install librtlsdr-dev %.o: %.c $(CC) $(CFLAGS) $(EXTRACFLAGS) -c $<