aboutsummaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.sco
blob: a2fedb22f0d6d5069c4f8a4ea2f219a47e5baff8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
AROPT = cr
export_dynamic = -Wl,-Bexport
shlib_symbolic = -Wl,-Bsymbolic

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

%.so: %.o
	$(LD) -G -Bdynamic -o $@ $<