X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2FMakefile;h=0f98d356035c7cb823d146003df6ddd29906c9bc;hp=f33c2e86e13cef0567994089ea4f3b8179034fb7;hb=dec5093fc78bfe1356d764c2432fed6566b2af66;hpb=1a5c85211f0a5b74366d264260d464266afb208d diff --git a/src/Makefile b/src/Makefile index f33c2e86..0f98d356 100644 --- a/src/Makefile +++ b/src/Makefile @@ -32,6 +32,8 @@ CONVERT_ICON_ARGS = -transparent black -background transparent PROGBASE = rocksndiamonds PROGNAME = ../$(PROGBASE) +EDITION ?= default + # ----------------------------------------------------------------------------- # configuring platform @@ -105,7 +107,8 @@ DEBUG = -DDEBUG -g # OPTIONS = $(DEBUG) -Wall # only for debugging purposes # OPTIONS = $(DEBUG) -O3 -Wall # only for debugging purposes -OPTIONS = $(DEBUG) -Wall # only for debugging purposes +# OPTIONS = $(DEBUG) -Wall # only for debugging purposes +OPTIONS = $(DEBUG) -Wall -Wstrict-prototypes -Wmissing-prototypes # OPTIONS = $(DEBUG) -Wall -ansi -pedantic # only for debugging purposes # OPTIONS = -O3 -Wall -ansi -pedantic # OPTIONS = -O3 -Wall @@ -205,7 +208,7 @@ ICONBASE = windows_icon ICON_BASEPATH = ../Special/Icons/windows_icons ifeq ($(PLATFORM),cross-win32) -ICON_PATH = $(ICON_BASEPATH)/default +ICON_PATH = $(ICON_BASEPATH)/$(EDITION) ICON = $(ICONBASE).o endif