From 29ea8338efb0b5450611b73463c9d7d469db2d75 Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 14 May 2020 15:01:31 +0200 Subject: Changed window manager to SDL2, refactoring everything --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 42c8110..a2b9f2e 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ # By: charles +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/05/09 10:24:52 by charles #+# #+# # -# Updated: 2020/05/12 21:17:54 by charles ### ########.fr # +# Updated: 2020/05/14 14:05:00 by charles ### ########.fr # # # # **************************************************************************** # @@ -24,11 +24,12 @@ OBJ_DIR = obj CC = gcc OFLAG ?= -O0 CCFLAGS = -I$(LIBFT_DIR)/include -I$(INC_DIR) -I$(LIBFTM_DIR)/inc \ + $(shell pkg-config --cflags sdl2) \ $(OFLAG) -Wall -Wextra #-Werror LDFLAGS = -L$(LIBFT_DIR) -lft -L$(LIBFTM_DIR) -lftm -lm ifeq ($(shell uname),Linux) - LDFLAGS += -lglfw -lGL -lglut -lGLEW + LDFLAGS += $(shell pkg-config --libs glew sdl2) endif NAME = scop -- cgit