aboutsummaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.sunos4
blob: c45f44d0998f6448da0312c1a916990e6f1f16be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
AROPT = cr

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

%.so: %.o
	$(LD) -assert pure-text -Bdynamic -o $@ $<