CFLAGS = -g
LDFLAGS = -L. -lmy_lib

main: libmy_lib.so test

%.so: %.c
	$(CC) -fPIC -shared -o $@ $<

clean:
	rm -f *.o *.so *~ \#* test
