all:	glx-maptest nvpixel glpreview insertnull ps2ts retime reframe freeframe audioframe

glx-maptest:	glx-maptest.cpp
	g++ -o glx-maptest glx-maptest.cpp -lGL

nvpixel:	nvpixel.cpp
	g++ -o nvpixel nvpixel.cpp -lGL

insertnull:	insertnull.c
	g++ -O2 -g -Wall -o insertnull insertnull.c

retime:	retime.c
	g++ -O2 -g -Wall -o retime retime.c

reframe: reframe.c
	g++ -O2 -g -Wall -o reframe reframe.c -lmpeg2

freeframe: freeframe.c
	g++ -O2 -g -Wall -o freeframe freeframe.c

audioframe: audioframe.c
	g++ -O2 -g -Wall -o audioframe audioframe.c

ps2ts:	ps2ts.c
	g++ -O2 -g -Wall -o ps2ts ps2ts.c

glpreview:	glpreview.cpp
	g++ -g -Wall -O3 -fomit-frame-pointer -o glpreview glpreview.cpp -L/usr/X11R6/lib -lX11 -lGL

clean:
	rm -f glx-maptest nvpixel glpreview insertnull retime ps2ts reframe freeframe audioframe
