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:
parent
a03b1bec56
commit
e499bda7a1
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue