mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2025-10-26 06:32:03 +01:00
10
src/Makefile
Normal file
10
src/Makefile
Normal file
@@ -0,0 +1,10 @@
|
||||
LDFLAGS=`pkg-config --libs libusb-1.0`
|
||||
CFLAGS=-Wall -O2 `pkg-config --cflags libusb-1.0`
|
||||
|
||||
all: rtl-sdr
|
||||
|
||||
rtl-sdr: main.o tuner_e4000.o tuner_fc0013.c
|
||||
$(CC) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
@rm -f rtl.sdr *.o
|
||||
Reference in New Issue
Block a user