################################################################################
#	Makefile	For BMeasure examples
#	T.Barnaby,	BEAM Ltd,	2018-11-28
#	Copyright (c) 2018 All Right Reserved, Beam Ltd, http://www.beam.ltd.uk
################################################################################
#
BMeasureDir	= /usr/share/BMeasure
CXXFLAGS	+= -I/${BMeasureDir}/include/BMeasure -I${BMeasureDir}/include/Beam
LDFLAGS 	+= -L${BMeasureDir}/lib64
LDLIBS		:= -lBMeasure -lBeam -lusb-1.0 -lpthread

# Main bits
PROGS		= example001-config example005-dataClient-single example007-dataClient example010-dataClient-multi

.SILENT:

all:	$(PROGS)

clean:
	rm -fr ${OBJS} $(PROGS) *.pyc

includes:

setup:
	export PYTHONPATH=${BMeasureDir}/lib64:${PYTHONPATH}
