try to debug Makefile, failed to build libytest.so via tests

This commit is contained in:
2025-06-26 06:34:52 +02:00
parent 6cee75f3f3
commit a1fe7c983d
11 changed files with 30 additions and 16 deletions
+4 -2
View File
@@ -34,7 +34,6 @@ PERMSRC_O=$(YPERMDIR)/src/permutation_t/permutation_t.o
DIMSRC_O=$(DIMDIR)/src/dimension_t/dimension_t.o
TOPTARGETS := all clean
DEPS=$(DIMDIR) $(YPERMDIR) $(YTESTDIR) $(TENSDIR)
@@ -42,6 +41,7 @@ OBJ=$(DIMSRC_O) $(PERMSRC_O) $(TENSRC_O)
LIB_YTEST=$(YTESTDIR)/libytest.so
TOPTARGETS := all clean
$(TOPTARGETS): $(DEPS)
@@ -61,7 +61,9 @@ all: $(EXEC) $(LIB_YTEST)
$(EXEC): $(EXECSRC) $(OBJ)
$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)
.PHONY: clean mrproper
.PHONY: all clean mrproper
$(LIB_YTEST): $(YTESTDIR)
clean:
rm -f $(OBJ)