rename test_t to ftest, mv is_goo.c in test dir, modify Makefile and compile

This commit is contained in:
2023-08-27 09:43:11 +02:00
parent c7f9b4a613
commit c31d8330b7
13 changed files with 11 additions and 8 deletions
+3
View File
@@ -1,5 +1,8 @@
**.swp
log*
**.o
*.o
*/**.o
*/**/**.o
launch_*
+2 -2
View File
@@ -9,9 +9,9 @@ SRC_DIR=$(ROOT_DIR)/src
SRC=$(wildcard */*/*.c)
OBJ=$(SRC:.c=.o)
#HEADS=$(OBJS:.o=.h)
TEST_DIR=$(ROOT_DIR)
TEST_DIR=$(ROOT_DIR)/test
EXECSRC=$(TEST_DIR)/$(NAME_TEST).c
EXEC=$(ROOT_DIR)/launch_$(NAME_TEST)
EXEC=$(ROOT_DIR)/launch_$(NAME_TEST)_m
PERMSRC=$(wildcard */**perm*.c)
PERMSRC_O=$(PERMSRC:.c=.o)
SETTSRC=$(wildcard */**set*.c)
Regular → Executable
+2 -2
View File
@@ -1,4 +1,4 @@
#!/bin/bash
gcc is_good.c src/test_t/test_t.c src/tools_t/tools_t.c \
gcc test/is_good.c src/ftest/ftest.c src/tools_t/tools_t.c \
src/permutation_t/permutation_t.c src/set_theoric_t/set_theoric_t.c \
-I./src -o lunch_is_good_c && ./lunch_is_good_c -h -p
-I./src -o launch_is_good_c && ./launch_is_good_c -h -p
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -18,7 +18,7 @@ SETTSRC=$(wildcard set*/set*.c)
SETTSRC_O=$(SETTSRC:.c=.o)
TOOLSRC=$(wildcard too*/tool*.c)
TOOLSRC_O=$(TOOLSRC:.c=.o)
TESTSRC=$(wildcard test*/test*.c)
TESTSRC=$(wildcard *test*/*test*.c)
TESTSRC_O=$(TESTSRC:.c=.o)
+1 -1
View File
@@ -1,4 +1,4 @@
#include "test_t/test_t.h"
#include "ftest/ftest.h"
/*
#define DEFAULT_K "\033[0m" //Resets the text to default color
+1 -1
View File
@@ -9,7 +9,7 @@
#include <windows.h>
#endif
#include "test_t/test_t.h"
#include "ftest/ftest.h"
#include "permutation_t/permutation_t.h"
Regular → Executable
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -9,7 +9,7 @@
#include <windows.h>
#endif
#include "test_t/test_t.h"
#include "ftest/ftest.h"
#include "permutation_t/permutation_t.h"