CC=gcc CFLAGS=-I../ -I/usr/local/include #LDFLAGS= `pkg-config --libs libusb` -L../../../r820t -lr820t -Wl,-rpath=../../../r820t LDFLAGS=`pkg-config --libs libusb` -L/usr/local/lib -L/usr/pkg/lib -lrtlsdr -lm ../radiola.o SOURCE = get_device_list.c read_samples.c sdr_fm.c ui_tui_waterfall.c OBJECTS = BIN = $(SOURCE:.c=) %: %.c $(CC) $(LDFLAGS) $(CFLAGS) $< -o $@ %.o: %.c $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $(BUILD_DIR)$@ make: $(BIN) clean: rm -f $(BIN)