X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2FMakefile;h=3ca01a688fd62799edd80e95058442624e042d60;hb=5fb8fb17649230a4c49de3de8164f8f3c07b1ed3;hp=c994eaa93e59cc78ccbdb4d23bf1aa8109974825;hpb=0548cd8fd0353c19608df8a7079fc2c39cc4ce27;p=rocksndiamonds.git diff --git a/src/Makefile b/src/Makefile index c994eaa9..3ca01a68 100644 --- a/src/Makefile +++ b/src/Makefile @@ -64,6 +64,7 @@ TARGET = allegro endif ifeq ($(PLATFORM),cross-win32) +EXTRA_LDFLAGS = -lshfolder PROGNAME = ../$(PROGBASE).exe TARGET = sdl endif @@ -75,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 @@ -102,7 +107,7 @@ CONFIG_GAME_DIR = $(CONFIG_RO_GAME_DIR) $(CONFIG_RW_GAME_DIR) CONFIG = $(CONFIG_GAME_DIR) $(CONFIG_SCORE_ENTRIES) $(JOYSTICK) -DEBUG = -DDEBUG -g +# DEBUG = -DDEBUG -g # PROFILING = $(PROFILING_FLAGS) # OPTIONS = $(DEBUG) -Wall # only for debugging purposes @@ -161,7 +166,9 @@ CNFS = conf_gfx.h \ conf_cus.c \ conf_cus.h \ conf_e2g.c \ - conf_esg.c + conf_esg.c \ + conf_e2s.c \ + conf_fnt.c CNFS_CMD = ../Scripts/create_element_defs.pl