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