Updated makefiles and better error reporting

This commit is contained in:
Maieul BOYER 2024-07-26 13:54:49 +02:00
parent 5ed7952cc7
commit 58fc4ecc78
No known key found for this signature in database
10 changed files with 94 additions and 74 deletions

View file

@ -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