diff options
author | June McEnroe <june@causal.agency> | 2019-03-24 21:18:39 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-03-24 21:18:39 -0400 |
commit | 4496c05b1f98e1171f7c8868ae7d741e1f0409a1 (patch) | |
tree | 38132dbc2cf91e7db8827161add20dc6f10fd8dc /Makefile | |
parent | Add missing time.h include (diff) | |
download | wep-4496c05b1f98e1171f7c8868ae7d741e1f0409a1.tar.gz wep-4496c05b1f98e1171f7c8868ae7d741e1f0409a1.zip |
Use SDL2_PREFIX as make variable
Diffstat (limited to '')
-rw-r--r-- | Makefile | 6 |
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 |