diff options
| author | Tom Harley | 2020-01-25 03:46:47 +0000 |
|---|---|---|
| committer | Tom Harley | 2020-01-25 03:46:47 +0000 |
| commit | 345963739e1403477af80570c20ae4bb15f25079 (patch) | |
| tree | ec826ca2793448764956b7a7990ab3fb06e29a27 /Makefile | |
| parent | Initial commit (diff) | |
| download | sdl-box-345963739e1403477af80570c20ae4bb15f25079.tar.gz sdl-box-345963739e1403477af80570c20ae4bb15f25079.zip | |
Add proper SDL2 dependencies to Makefile
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,6 @@ -LDLIBS=-lSDL2 +CFLAGS = $(shell sdl2-config --cflags) +CXXFLAGS = $(shell sdl2-config --cppflags) +LDFLAGS = $(shell sdl2-config --ldflags) +LDLIBS = $(shell sdl2-config --libs) default: hmm |
