Updated makefiles and better error reporting
This commit is contained in:
parent
5ed7952cc7
commit
58fc4ecc78
10 changed files with 94 additions and 74 deletions
|
|
@ -38,10 +38,10 @@ fs/read \
|
|||
fs/read_to_vec \
|
||||
fs/write \
|
||||
gnl/get_next_line \
|
||||
hash/hasher \
|
||||
hash/hash_signed \
|
||||
hash/hash_str \
|
||||
hash/hash_unsigned \
|
||||
hash/hasher \
|
||||
hash/sip/sip13 \
|
||||
hash/sip/sip_utils \
|
||||
hash/sip/sip_utils2 \
|
||||
|
|
@ -89,10 +89,6 @@ printf/printf \
|
|||
printf/printf_fd \
|
||||
printf/printf_str \
|
||||
printf/vprintf \
|
||||
string/mod \
|
||||
string/string_insert \
|
||||
string/string_remove \
|
||||
string/string_reserve \
|
||||
str/str_clone \
|
||||
str/str_compare \
|
||||
str/str_find_chr \
|
||||
|
|
@ -109,6 +105,10 @@ str/str_n_find_str \
|
|||
str/str_split \
|
||||
str/str_substring \
|
||||
str/str_trim \
|
||||
string/mod \
|
||||
string/string_insert \
|
||||
string/string_remove \
|
||||
string/string_reserve \
|
||||
|
||||
GEN_FILES = \
|
||||
convert/i16_to_str \
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/11/03 14:31:12 by maiboyer #+# #+# */
|
||||
/* Updated: 2024/07/11 18:54:29 by maiboyer ### ########.fr */
|
||||
/* Updated: 2024/07/26 13:55:48 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -64,9 +64,16 @@ void me_exit(t_i32 code);
|
|||
/// @brief a function that prints the current stack trace
|
||||
void print_trace(void);
|
||||
|
||||
/// @def signal that an error occured
|
||||
# define ERROR 1
|
||||
|
||||
# ifndef ERROR
|
||||
/// @def signal that an error occured
|
||||
# define ERROR 1
|
||||
# else
|
||||
# include <stdio.h>
|
||||
# endif
|
||||
|
||||
# ifndef NO_ERROR
|
||||
/// @def signal that no error occured
|
||||
# define NO_ERROR 0
|
||||
# define NO_ERROR 0
|
||||
# endif
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue