rename test_t to ftest, mv is_goo.c in test dir, modify Makefile and compile
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
**.swp
|
||||
log*
|
||||
**.o
|
||||
*.o
|
||||
*/**.o
|
||||
*/**/**.o
|
||||
launch_*
|
||||
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
Binary file not shown.
+1
-1
@@ -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,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
@@ -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
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -9,7 +9,7 @@
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#include "test_t/test_t.h"
|
||||
#include "ftest/ftest.h"
|
||||
|
||||
#include "permutation_t/permutation_t.h"
|
||||
|
||||
Reference in New Issue
Block a user