dylib.make 268 B

1234567891011121314
  1. DYLIB_SUFFIX=unknown
  2. UNAME_S := $(shell uname -s)
  3. ifeq ($(UNAME_S), Linux)
  4. DYLIB_SUFFIX=.so
  5. endif
  6. ifeq ($(UNAME_S), Darwin)
  7. DYLIB_SUFFIX=.dylib
  8. endif
  9. ifeq ($(DYLIB_SUFFIX), unknown)
  10. $(error Unsupported operating system)
  11. else
  12. DYLIB := libjump$(DYLIB_SUFFIX)
  13. endif