default_target: all all: dvd tv CXX=g++ CXXFLAGS=-W -Wall -O -std=c++0x INCLUDES=-I../include -I/project/libpbe/include -I/usr/local/src/linux-2.6-imx/include LIBS=-L/project/libpbe -lpbe.armhf-linux -lpthread %: %.o ${CXX} ${CXXFLAGS} -o $@ $^ ${LIBS} %.o: %.cc ${CXX} ${CXXFLAGS} ${INCLUDES} -c $< tv: tv.o frame_timer.o tv: LIBS+=-lvpu -lipu -ldvbcfg -ldvbapi -lmpg123 -lasound tv.o: ../include/VPU.hh ../include/IPUFB0.hh ../include/DVBadaptor.hh \ ../include/PESDemultiplexor.hh ../include/AlsaOutput.hh ../include/Mp3Player.hh dvd: dvd.o frame_timer.o dvd: LIBS+=-lvpu -lipu -ldvbcfg -ldvbapi -la52 -lasound dvd.o: ../include/VPU.hh ../include/IPUFB0.hh \ ../include/Ac3Player.hh ../include/AlsaOutput.hh \ ../include/VobReader.hh frame_timer.o: frame_timer.hh .PHONY: default_target all