Add release and debug targets in Makefile. Improve robustness by checking cache sizes and snprintf returns

This commit is contained in:
Dr-Noob
2020-06-21 13:37:44 +02:00
parent 0087453eda
commit 1435978b37
3 changed files with 79 additions and 16 deletions

View File

@@ -2,10 +2,20 @@
#include <stdio.h>
#include "global.h"
#ifdef _WIN32
#define RED ""
#define BOLD ""
#define RESET ""
#else
#define RED "\x1b[31;1m"
#define BOLD "\x1b[;1m"
#define RESET "\x1b[0m"
#endif
#define LOG_LEVEL_NORMAL 0
#define LOG_LEVEL_VERBOSE 1