default_target: all all: mpeg_to_fb ts_to_es ps_to_es CXX=g++ CXXFLAGS=-W -Wall -O -std=c++0x INCLUDES=-I../include -I/project/libpbe/include LIBS=-L/project/libpbe -lpbe.armhf-linux -lpthread %: %.o ${CXX} ${CXXFLAGS} -o $@ $^ ${LIBS} %.o: %.cc ${CXX} ${CXXFLAGS} ${INCLUDES} -c $< mpeg_to_fb: mpeg_to_fb.o mpeg_to_fb: LIBS+=-lvpu -lipu mpeg_to_fb.o: ../include/VPU.hh ../include/IPUFB0.hh ts_to_es: ts_to_es.o ts_to_es.o: TransportStreamDecoder.hh PESDemultiplexor.hh ps_to_es: ps_to_es.o ps_to_es.o: PESDemultiplexor.hh .PHONY: default_target all