Skip to content

Commit

Permalink
gamp
Browse files Browse the repository at this point in the history
  • Loading branch information
mirsella committed Sep 19, 2023
1 parent 20d097f commit 842f551
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions libft/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 842f551

Please sign in to comment.