build(parsing): adding the CPPFLAGS if not set

This commit is contained in:
Raphael 2026-03-25 13:45:51 +01:00
parent 92468f9ee3
commit 3394a073a3
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: 2026/03/23 14:49:07 by rparodi ### ########.fr #
# Updated: 2026/03/24 11:44:52 by rparodi ### ########.fr #
# #
# **************************************************************************** #
@ -20,7 +20,7 @@ SRC = sources/parsing.c
CC ?= clang
CFLAGS ?= -Werror -Wextra -Wall
CPPFLAGS = $(addprefix -I, $(INC_DIR)) -MMD -MP
CPPFLAGS ?= $(addprefix -I, $(INC_DIR)) -MMD -MP
OBJ = $(addprefix $(OBJDIRNAME)/$(MODULE_NAME)/,$(SRC:.c=.o))