Makefile: change to absolute path, and debug create lib.so if need

This commit is contained in:
2025-10-28 19:13:28 +01:00
parent 1b78925f26
commit 1eb30ff794
27 changed files with 364 additions and 434 deletions
+8 -4
View File
@@ -1,12 +1,16 @@
#file: y_worker_t/Makefile
# lib: -lyworker
ROOTPROJECTDIR:=$(realpath ..)
YWORKERDIR=$(ROOTPROJECTDIR)/y_worker_t
PROJECT_LIB=libyworker.so
CC=gcc
INCLUDE_DIRS=$(PWD)/include
SOCDIR=$(PWD)
INCLUDE_DIRS=$(YWORKERDIR)/include
#$(wildcard $(PWD)/**/include)
TOOLDIR=$(PWD)/../ytools_t
YLISTDIR=$(PWD)/../list_t
TOOLDIR=$(ROOTPROJECTDIR)/ytools_t
YLISTDIR=$(ROOTPROJECTDIR)/list_t
INCLUDE=-I$(INCLUDE_DIRS) -I$(YLISTDIR)/src -I$(TOOLDIR)/include