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 -7
View File
@@ -1,17 +1,18 @@
# file: tensor_t/test_cl/Makefile
ROOTPROJECTDIR:=$(realpath ../..)
NAME_TEST=is_good
CC=gcc
ROOT_DIR=$(PWD)
YTESTDIR=$(PWD)/../../ytest_t
YPERMDIR=$(PWD)/../../ypermutation_t
YTESTDIR=$(ROOTPROJECTDIR)/ytest_t
YPERMDIR=$(ROOTPROJECTDIR)/ypermutation_t
TENSDIR=$(PWD)/..
DIMDIR=$(PWD)/../../dimension_t
#TOOLDIR=$(PWD)/../../ytools_t
INCLUDE_DIR=$(PWD)/../src
TENSDIR=$(ROOTPROJECTDIR)/tensor_t
DIMDIR=$(ROOTPROJECTDIR)/dimension_t
#TOOLDIR=$(ROOTPROJECTDIR)/ytools_t
INCLUDE_DIR=$(TENSDIR)/src
CFLAGS=-I$(INCLUDE_DIR) -I$(YPERMDIR)/src -I$(YTESTDIR)/include_ytest/include -I$(DIMDIR)/src -I$(TENSDIR)/src
LDFLAGS=-L$(YTESTDIR) -lytest -lOpenCL