From: Holger Schemel Date: Thu, 20 Oct 2022 14:11:01 +0000 (+0200) Subject: changed name of compilation flag to be more generic X-Git-Tag: 4.3.3.0~52 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=61b6c895e0caebc4f55894cf835b4ffeb682dbba;p=rocksndiamonds.git changed name of compilation flag to be more generic --- diff --git a/src/Makefile b/src/Makefile index f634296e..60a43700 100644 --- a/src/Makefile +++ b/src/Makefile @@ -126,7 +126,7 @@ CONFIG = $(CONFIG_BASE_PATH) $(JOYSTICK) DEBUG = -DDEBUG -g -# PROFILING = $(PROFILING_FLAGS) +# ANALYZE = $(PROFILING_FLAGS) # OPTIONS = $(DEBUG) -Wall # only for debugging purposes # OPTIONS = $(DEBUG) -O2 -Wall # only for debugging purposes @@ -259,7 +259,7 @@ GRAPHICS_DIR = ../graphics all: $(AUTOCONF) libgame_dir game_em_dir game_sp_dir game_mm_dir $(PROGNAME) graphics_dir $(PROGNAME): $(RNDLIBS) $(TIMESTAMP_FILE) $(COMMIT_HASH_FILE) $(OBJS) $(ICON) - $(CC) $(PROFILING) $(OBJS) $(ICON) $(RNDLIBS) $(LDFLAGS) -o $(PROGNAME) + $(CC) $(ANALYZE) $(OBJS) $(ICON) $(RNDLIBS) $(LDFLAGS) -o $(PROGNAME) ifdef BUILD_DIST $(STRIP) $(PROGNAME) endif @@ -330,7 +330,7 @@ $(ICON): echo "$(ICONBASE) ICON $(ICONBASE).ico" | $(WINDRES) -o $(ICON) .c.o: - $(CC) $(PROFILING) $(CFLAGS) -c $*.c + $(CC) $(ANALYZE) $(CFLAGS) -c $*.c graphics_dir: @test -f $(GRAPHICS_DIR)/Makefile && $(MAKE) -C $(GRAPHICS_DIR) || true