[PATCH 1/2] Fix Makefile to delete objects from the library on make clean

Jes Sorensen
2020-05-15T20:57:01Z

Signed-off-by: Jes Sorensen <jsorensen@fb.com>
---
Makefile | 1 +
1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 1a7be53..c5f46f4 100644
--- a/Makefile
+++ b/Makefile
@@ -81,6 +81,7 @@ LIB_SRC := $(wildcard lib/*.c)
LIB_HEADERS := $(wildcard lib/*.h) $(COMMON_HEADERS)
STATIC_LIB_OBJ := $(LIB_SRC:.c=.o)
SHARED_LIB_OBJ := $(LIB_SRC:.c=.shlib.o)
+LIB_OBJS := $(SHARED_LIB_OBJ) $(STATIC_LIB_OBJ)

# Compile static library object files
$(STATIC_LIB_OBJ): %.o: %.c $(LIB_HEADERS) .build-config
--
2.26.2