X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2FMakefile;h=4cd0223f346f74ffcf1c2d343fc13504c8065592;hb=37a06df577bbfd00f4b361f92cacb0d97036ba93;hp=aea2a2a7dc1ec5b7b2c1093146107dc23d0ff440;hpb=ec36fe263402351ac67b70400f11096a044365fe;p=rocksndiamonds.git diff --git a/src/Makefile b/src/Makefile index aea2a2a7..4cd0223f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,7 +1,7 @@ # ============================================================================= # Rocks'n'Diamonds Makefile (src) # ----------------------------------------------------------------------------- -# (c) 1995-2003 Holger Schemel +# (c) 1995-2005 Holger Schemel # ============================================================================= # ----------------------------------------------------------------------------- @@ -95,6 +95,12 @@ SDL_LIBS = -lSDL_image -lSDL_mixer -lSDL_net -lsmpeg SYS_LDFLAGS = $(SDL_LIBS) $(shell sdl-config --libs) endif +ifeq ($(TARGET),sdl-static) +SYS_CFLAGS = -DTARGET_SDL $(shell sdl-config --cflags) +SDL_LIBS = -lSDL_image -lSDL_mixer -lSDL_net -lsmpeg +SYS_LDFLAGS = $(SDL_LIBS) $(shell sdl-config --static-libs) +endif + ifeq ($(TARGET),allegro) SYS_CFLAGS = -DTARGET_ALLEGRO -I$(CROSS_PATH_MSDOS)/include SYS_LDFLAGS = -lalleg