build: adding the CFLAGS to compile on my server

- The -Wno-unused-result is not mandatory at 42 and is too long to catch
each time
This commit is contained in:
Raphael 2025-12-11 23:29:34 +01:00
parent a03b1bec56
commit e499bda7a1
No known key found for this signature in database

View file

@ -6,7 +6,7 @@
# By: rparodi <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2023/11/12 11:05:05 by rparodi #+# #+# #
# Updated: 2025/12/11 22:56:13 by rparodi ### ########.fr #
# Updated: 2025/12/11 23:18:29 by rparodi ### ########.fr #
# #
# **************************************************************************** #
@ -25,6 +25,7 @@ ASFLAGS += -g -F dwarf
CC ?= clang
RM = rm -rf
CFLAGS = -Werror -Wextra -Wall
CFLAGS += -Wno-unused-result
TEST_FILE = test/main.c
INC_DIR = includes
LDFLAGS = -L./build/ -lasm -no-pie