diff --git a/tensor_t/test/oldMakefile b/tensor_t/test/oldMakefile deleted file mode 100644 index d42d7ec..0000000 --- a/tensor_t/test/oldMakefile +++ /dev/null @@ -1,56 +0,0 @@ - - - - -NAME_TEST=is_good -CC=gcc -ROOT_DIR=$(PWD) -YTESTDIR=$(PWD)/../ytest -TOOLDIR=$(PWD)/../ytools_t - -INCLUDE_DIR=$(ROOT_DIR)/src -CFLAGS=-I$(INCLUDE_DIR) -I$(YTESTDIR)/include_ytest/include -LDFLAGS=-L$(YTESTDIR) -lytest - -#SRC_DIR=$(ROOT_DIR)/src -#SRC=$(wildcard */*/*.c) -SRC=$(wildcard **/**/*.c) -#HEADS=$(OBJS:.o=.h) -TEST_DIR=$(PWD) -EXECSRC=$(NAME_TEST).c -EXEC=launch_$(NAME_TEST)_m -PERMSRC=src/permutation_t/permutation_t.c -PERMSRC_O=$(PERMSRC:.c=.o) -SETTSRC=src/set_theoric_t/set_theoric_t.c -SETTSRC_O=$(SETTSRC:.c=.o) -TOOLSRC=$(TOOLDIR)/src/tools_t/tools_t.c -TOOLSRC_O=$(TOOLSRC:.c=.o) - -OBJ=$(SRC:.c=.o) $(TOOLSRC_O) - -LIB_YTEST=$(YTESTDIR)/libytest.so - -all: $(EXEC) $(LIB_YTEST) - -$(EXEC): $(EXECSRC) $(OBJ) - $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) - -$(PERMSRC_O): $(PERMSRC) $(SETTSRC_O) - $(CC) -o $@ -c $< $(CFLAGS) - -$(SETTSRC_O) : $(SETTSRC) $(TOOLSRC_O) - $(CC) -o $@ -c $< $(CFLAGS) - -$(TOOLSRC_O): $(TOOLSRC) - $(CC) -o $@ -c $< $(CFLAGS) - -.PHONY: clean mrproper - -clean: - rm -f $(OBJ) - -mrproper: clean - rm -f $(EXEC) - -run: $(EXEC) - $(EXEC) -h