X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2FMakefile;fp=src%2FMakefile;h=126f07337755724a5d45a0c5f70da6f24b645359;hp=af907f8c342bd09e56be62056e8cd21e3cf9412f;hb=08070d4e9c59d68b73682bb586ba9002c17386a8;hpb=466240bdd432835656962afbc3ab9ed9f9d5797a diff --git a/src/Makefile b/src/Makefile index af907f8c..126f0733 100644 --- a/src/Makefile +++ b/src/Makefile @@ -84,9 +84,9 @@ endif # $(info Using SDL version $(SDL_VERSION) [TARGET == $(TARGET)]) ifeq ($(TARGET),sdl2) # compiling for SDL2 target -SYS_CFLAGS = -DTARGET_SDL2 $(shell sdl2-config --cflags) SDL_LIBS = -lSDL2_image -lSDL2_mixer -lSDL2_net -SYS_LDFLAGS = $(SDL_LIBS) $(shell sdl2-config --libs) +SYS_CFLAGS := -DTARGET_SDL2 $(shell sdl2-config --cflags) +SYS_LDFLAGS := $(SDL_LIBS) $(shell sdl2-config --libs) endif