Makefile cleanup, comments, style

This commit is contained in:
Timo Schmidt 2023-04-05 10:47:24 +02:00
parent ad66be3697
commit 998974c177
1 changed files with 22 additions and 17 deletions

View File

@ -1,4 +1,5 @@
SRC = main.c \ SRC = \
main.c \
io.c \ io.c \
parsing.c \ parsing.c \
parsing_simple.c \ parsing_simple.c \
@ -7,7 +8,8 @@ SRC = main.c \
map_helpers.c \ map_helpers.c \
ft_string.c \ ft_string.c \
HEADERS = parsing.h \ HEADERS = \
parsing.h \
printing.h \ printing.h \
solution.h \ solution.h \
ft_string.h \ ft_string.h \
@ -74,6 +76,9 @@ SUCCESS_VALG = && $(SUCCESS_MSG_VALG) || $(FAIL_MSG_VALG)
FAIL = && $(FAIL_MSG) || $(SUCCESS_MSG) FAIL = && $(FAIL_MSG) || $(SUCCESS_MSG)
VALGRIND = valgrind --leak-check=full --error-exitcode=1 VALGRIND = valgrind --leak-check=full --error-exitcode=1
VALGRIND_SMALL = 2>/dev/null 1>&2 valgrind --error-exitcode=1 VALGRIND_SMALL = 2>/dev/null 1>&2 valgrind --error-exitcode=1
# The following 3 lines intentionally contain non-printable characters, namely
# the escape character \x1b. It is soley for the color-coding. If you use this Makefile,
# either download/copy this file or select/copy the text directly and lose the colors.
YLW = : ; YLW = : ;
CYN = : ; CYN = : ;
CLR_RST = && :  CLR_RST = && :