about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-03-24 21:18:39 -0400
committerJune McEnroe <june@causal.agency>2019-03-24 21:18:39 -0400
commit4496c05b1f98e1171f7c8868ae7d741e1f0409a1 (patch)
tree38132dbc2cf91e7db8827161add20dc6f10fd8dc /Makefile
parentAdd missing time.h include (diff)
downloadcards-4496c05b1f98e1171f7c8868ae7d741e1f0409a1.tar.gz
cards-4496c05b1f98e1171f7c8868ae7d741e1f0409a1.zip
Use SDL2_PREFIX as make variable
Diffstat (limited to '')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
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