From 4496c05b1f98e1171f7c8868ae7d741e1f0409a1 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 24 Mar 2019 21:18:39 -0400 Subject: Use SDL2_PREFIX as make variable --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6dbc405..8775fce 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ CFLAGS += -std=c99 -Wall -Wextra -Wpedantic -SDL_PREFIX = /usr/local -CFLAGS += -I$(SDL_PREFIX)/include/SDL2 -LDFLAGS += -L$(SDL_PREFIX)/lib +SDL2_PREFIX = /usr/local +CFLAGS += -I$(SDL2_PREFIX)/include/SDL2 +LDFLAGS += -L$(SDL2_PREFIX)/lib LDLIBS = -lSDL2 -include config.mk -- cgit 1.4.1