From 842f55155f19257af3bb327a4fb8381f7ec5cc25 Mon Sep 17 00:00:00 2001 From: mirsella Date: Tue, 19 Sep 2023 12:22:17 +0200 Subject: [PATCH] gamp --- libft/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libft/Makefile b/libft/Makefile index c1a13a5..ef94476 100644 --- a/libft/Makefile +++ b/libft/Makefile @@ -8,11 +8,8 @@ OBJS = $(SRCS:.c=.o) CC = cc CFLAGS = -Wall -Wextra -Werror - - -HOSTNAME := $(shell hostname) -ifneq (,$(filter $(HOSTNAME),laptop main)) # if HOSTNAME is laptop or main add -g3 -CFLAGS += -g3 +ifdef DEV + CFLAGS += -g3 endif NAME = libft.a