We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 165da4c commit 4e78372Copy full SHA for 4e78372
src/Makefile
@@ -1,8 +1,18 @@
1
LBT_ROOT := $(dir $(abspath $(dir $(lastword $(MAKEFILE_LIST)))))
2
include $(LBT_ROOT)/src/Make.inc
3
4
+ifeq ($(OS),WINNT)
5
+# On Windows only build the library with the major soversion, all other copies
6
+# are useless and error prone.
7
+TARGET_LIBRARIES = $(builddir)/$(LIB_MAJOR_VERSION)
8
+else
9
+TARGET_LIBRARIES = $(builddir)/$(LIB_MAJOR_VERSION) $(builddir)/$(LIB_FULL_VERSION) $(builddir)/libblastrampoline.$(SHLIB_EXT)
10
+endif
11
+
12
+maintarget=$(word 1,$(TARGET_LIBRARIES))
13
14
# Default target
-all: $(builddir)/libblastrampoline.$(SHLIB_EXT)
15
+all: $(maintarget)
16
17
# Objects we'll build
18
MAIN_OBJS := libblastrampoline.o dl_utils.o config.o \
0 commit comments