2018-03-16 22:03:06 +08:00
|
|
|
all: testrpitx
|
|
|
|
|
2019-06-27 15:58:34 +08:00
|
|
|
CFLAGS = -Wall -g -O3 -Wno-unused-variable -I /opt/vc/include
|
|
|
|
LDFLAGS = -lm -lrt -lpthread -L/opt/vc/lib -lbcm_host
|
2018-03-16 22:03:06 +08:00
|
|
|
CCP = g++
|
|
|
|
CC = gcc
|
|
|
|
|
|
|
|
|
|
|
|
testrpitx: testrpitx.cpp ../src/librpitx.h ../src/librpitx.a
|
|
|
|
|
|
|
|
$(CCP) $(CFLAGS) -o testrpitx testrpitx.cpp ../src/librpitx.a $(LDFLAGS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
|
|
|
rm -f testrpitx
|