1diff --git a/Makefile b/Makefile
2index 0070ada..802cef0 100644
3--- a/Makefile
4+++ b/Makefile
5@@ -202,7 +202,7 @@ $(BIN_NAME): $(BIN_OBJS)
6 ##### Public rules #####
7
8 all: CPPFLAGS += -DNDEBUG
9-all: shared static tools
10+all: shared tools
11
12 # Run with ASAN_OPTIONS="protect_shadow_gap=0" to avoid CUDA OOM errors
13 debug: CFLAGS += -pedantic -fsanitize=undefined -fno-omit-frame-pointer -fno-common -fsanitize=address
14@@ -232,7 +232,6 @@ install: all
15 # Install header files
16 $(INSTALL) -m 644 $(LIB_INCS) $(DESTDIR)$(includedir)
17 # Install library files
18- $(INSTALL) -m 644 $(LIB_STATIC) $(DESTDIR)$(libdir)
19 $(INSTALL) -m 755 $(LIB_SHARED) $(DESTDIR)$(libdir)
20 $(LN) -sf $(LIB_SONAME) $(DESTDIR)$(libdir)/$(LIB_SYMLINK)
21 $(LDCONFIG) -n $(DESTDIR)$(libdir)