AROPT = cr

DLSUFFIX = .so
ifeq ($(GCC), yes)
CFLAGS_SL = -fpic
else
CFLAGS_SL = -PIC
endif

# Rule for building a shared library from a single .o file
%.so: %.o
	$(LD) -assert pure-text -Bdynamic -o $@ $<
