
PROJ := vtxplay
CCPP := g++ -Wall -g -pipe -I.
LINKER := gcc -lstdc++

cpp_files:=player.cpp

%.o : %.cpp
	${CCPP} -c -o $@ $<	

.PHONY : all
all:: ${PROJ}

clean: 
	rm -f *.o
	rm -f ${PROJ}
	rm -f libvtxplay.so

${PROJ}: player.o
	${LINKER} -o $@ $^
	strip $@

plugin:
	g++ `gtk-config --cflags` plugin.cpp --shared -o vtxplay.lo -Wl,-soname -Wl,libvtxplay.so -o libvtxplay.so
	

#EOF