X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2FMakefile;h=3ca01a688fd62799edd80e95058442624e042d60;hb=30d40b2686550cc5ffd737ad4336bf7fccf2b4e1;hp=ff28877633b2b653aa14aa87f2e396da2af41c55;hpb=ba0b7e23777030bb74fcb16ef2000f8f7395d184;p=rocksndiamonds.git diff --git a/src/Makefile b/src/Makefile index ff288776..3ca01a68 100644 --- a/src/Makefile +++ b/src/Makefile @@ -76,8 +76,12 @@ endif ifeq ($(TARGET),sdl) SYS_CFLAGS = -DTARGET_SDL $(shell sdl-config --cflags) +ifeq ($(PLATFORM),macosx) +SYS_LDFLAGS = -lSDL_image -lSDL_mixer -lsmpeg $(shell sdl-config --libs) +else SYS_LDFLAGS = -lSDL_image -lSDL_mixer $(shell sdl-config --libs) endif +endif ifeq ($(TARGET),allegro) SYS_CFLAGS = -DTARGET_ALLEGRO -I$(CROSS_PATH_MSDOS)/include