# used by initdb
SHELL=/bin/sh5
AROPT = crs

DLSUFFIX = .so
# "-G 0" works for both DEC cc and GNU cc.
CFLAGS_SL = -G 0

# Rule for building a shared library from a single .c file
%.so: %.c
	$(CC) -c -G 0 $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_SL) -o $@ $<
