Thursday, May 08, 2008

make




Working with Makefiles. It has been a while, and I needed to brush up on how to declare and use variables:

To declare:


LIBS = -lpng -lfreetype -lpthread -lasound -lmad -lvorbisfile


To use:


tutorial: tutorial.o
g++ -O3 -Wall -fPIC -o tutorial tutorial.o /usr/sness/marsyas/lib/libmarsyas.a /usr/sness/lib/libpngwriter.a ${LIBS}