blob: 421b735e407e8a4d7c3bc211298b8a2d418f76ce (
plain)
1
2
3
4
5
6
7
8
9
|
AROPT = cr
export_dynamic = -Wl,-E
rpath = -Wl,-R'$(rpathdir)'
# Rule for building a shared library from a single .o file
%.so: %.o
$(CC) $(CFLAGS) $< $(LDFLAGS) $(LDFLAGS_SL) -shared -o $@
|