diff --git a/premake.make b/premake.make index f063251..b48dcda 100644 --- a/premake.make +++ b/premake.make @@ -1,4 +1,7 @@ -LDLIBS := -lSDL2 -lSDL2_image +LDLIBS := -lSDL2_image + +LDLIBS += $(shell pkg-config sdl2 --libs) +CXXFLAGS += $(shell pkg-config sdl2 --cflags) MAJOR := 1 MINOR := 0