blob: 95c5dfa2c78b0ef3cd74bfc0248f9db6ba8b3e31 (
plain) (
tree)
|
|
--- src/Makefile.orig 2016-06-30 04:34:23 UTC
+++ src/Makefile
@@ -82,8 +82,8 @@ else
BIN_SUFFIX=_native
endif
endif
-CLIENT_INCLUDES= $(INCLUDES) -I/usr/X11R6/include `sdl2-config --cflags`
-CLIENT_LIBS= -Lenet -lenet -L/usr/X11R6/lib -lX11 `sdl2-config --libs` -lSDL2_image -lSDL2_mixer -lz -lGL
+CLIENT_INCLUDES= $(INCLUDES) -I${LOCALBASE}/include `sdl2-config --cflags`
+CLIENT_LIBS= -Lenet -lenet -L${LOCALBASE}/lib -lX11 `sdl2-config --libs` -lSDL2_image -lSDL2_mixer -lz -lGL
endif
ifneq (,$(findstring linux,$(PLATFORM)))
CLIENT_LIBS+= -lrt
|