summaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.sunos4
blob: d19e165ea5304b65d44f693b7d825e159af4328b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 $@ $<