You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
235B

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