equal
deleted
inserted
replaced
88 endif |
88 endif |
89 # Object files needed to create library |
89 # Object files needed to create library |
90 OBJECTS=$(SOURCES:%.c=%.o) |
90 OBJECTS=$(SOURCES:%.c=%.o) |
91 # Library name and options needed to build it |
91 # Library name and options needed to build it |
92 LIBRARY=lib$(LIBNAME).so |
92 LIBRARY=lib$(LIBNAME).so |
93 LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text |
93 LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc |
94 # Libraries we are dependent on |
94 # Libraries we are dependent on |
95 LIBRARIES=-lc |
95 LIBRARIES=-lc |
96 # Building a shared library |
96 # Building a shared library |
97 LINK_SHARED=$(LINK.c) -shared -o $@ |
97 LINK_SHARED=$(LINK.c) -shared -o $@ |
98 endif |
98 endif |