default:
	fasm libsotest.asm 
	ld -o libsotest.so --oformat elf32-i386 -m elf_i386 -s -nostdlib -shared libsotest.o 
	fasm test_static.asm 
	ld -o test_static --oformat elf32-i386 -m elf_i386 -s -rpath . -dynamic-linker /lib/ld-linux.so.2 test_static.o libsotest.so
	rm -f *.o

clean:
	rm -f *~ *.so libsotest test_static test_dynamic
