all:	libtest.so

libtest.so:	test.o
	gcc -g -fPIC -c test.c
	gcc -shared -W1,-soname,libtest.so.1 -o libtest.so.1.0 test.o

clean:
	rm -f *.o libtest.so.1.0
