6fbd03f863
- debug and release targets now produce both shared and static libs - obj dirs split into shared/ and static/ to keep fPIC objects isolated - install no longer depends on release, guards with existence check instead - build.sh handles privilege escalation for install/uninstall via doas or sudo, falling back gracefully if already root - uninstall cleans up static lib alongside shared
13 lines
193 B
Makefile
13 lines
193 B
Makefile
SRC_DIR = src
|
|
INC_DIR = include
|
|
OBJ_DIR = obj
|
|
BIN_DIR = bin
|
|
|
|
LIB_NAME = stk
|
|
STATIC_LIB = lib$(LIB_NAME).a
|
|
|
|
SRCS = src/module.c \
|
|
src/platform.c \
|
|
src/stk.c \
|
|
src/stk_log.c
|