aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index da7db5a..7886427 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@
# By: cacharle <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2019/10/08 15:45:53 by cacharle #+# #+# #
-# Updated: 2020/04/01 18:09:04 by charles ### ########.fr #
+# Updated: 2020/04/01 22:00:44 by charles ### ########.fr #
# #
# **************************************************************************** #
@@ -31,6 +31,9 @@ INCLUDE_DIR = include
CC = gcc
OFLAG ?= -O1
CCFLAGS = $(OFLAG) -I$(INCLUDE_DIR) -Wall -Wextra -Werror
+ifeq ($(TRAVIS_COMPILER),gcc)
+CCFLAGS += -Wno-unused-result
+endif
IGNORE_FILE = .libftignore
IGNORE_DEFAULT = ft_printf