librpitx/app/Makefile

16 lines
323 B
Makefile
Raw Normal View History

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
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