# libalphafy - A hack to give Second Life on Linux proper alpha channels # Written February 11, 2006 by Jimmy Kaplowitz # Released under the public domain, although due credit is appreciated all: libalphafy.so %.so: %.o ld -shared -o $@ $< -ldl `sdl-config --libs` %.o: %.c gcc -fPIC -c $< -D_GNU_SOURCE `sdl-config --cflags` tidy: rm -f *.o clean: tidy rm -f *.so .PHONY: all tidy clean