Added acquire/release functions to reuse

This commit is contained in:
2023-07-01 23:45:01 +03:00
parent 65096b1987
commit d5f0e478e1
2 changed files with 45 additions and 20 deletions

View File

@@ -13,6 +13,8 @@ OBJ_FILES := $(patsubst %.c,$(BD)/%.o,$(SRC_FILES))
OBJ_FILES := $(patsubst %.c,$(BD)/%.o,$(SRC_FILES))
SHARED_OBJ_FILES := $(patsubst %.c,$(SBD)/%.o,$(SRC_FILES))
CFLAGS ?= -O2 -ansi -pedantic
shared: $(SBD)/$(SHARED_LIB)
static: $(BD)/$(STATIC_LIB)