diff options
-rw-r--r-- | Makefile | 10 | ||||
-rw-r--r-- | Makefile.mingw | 10 |
2 files changed, 10 insertions, 10 deletions
@@ -17,12 +17,12 @@ CP = cp # Default compilation parameters. Normally don't edit these # ####################################################################### -CFLAGS = -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -DEFINES = +CFLAGS := -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar -Wno-unknown-pragmas +DEFINES := LDFLAGS := INCLUDES:= -I. -Icommon -LIBS = -OBJS = +LIBS := +OBJS := # Load the build rules & settings for the chosen backend -include build.rules @@ -56,7 +56,7 @@ LIBS += -lmad ####################################################################### # Concat DEFINES and INCLUDES to for the CPPFLAGS -CPPFLAGS= $(DEFINES) $(INCLUDES) +CPPFLAGS:= $(DEFINES) $(INCLUDES) include Makefile.common diff --git a/Makefile.mingw b/Makefile.mingw index 67eb9f2a3f..3c04526889 100644 --- a/Makefile.mingw +++ b/Makefile.mingw @@ -23,12 +23,12 @@ CP = cp # Default compilation parameters. Normally don't edit these # ####################################################################### -CFLAGS = -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -DEFINES = +CFLAGS := -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar -Wno-unknown-pragmas +DEFINES := LDFLAGS := INCLUDES:= -I. -Icommon -Iscumm $(SDL_CFLAGS) -LIBS = $(SDL_LIBS) -lmingw32 -lwinmm -OBJS = scummvmico.o backends/sdl/sdl-common.o backends/sdl/sdl.o +LIBS := $(SDL_LIBS) -lmingw32 -lwinmm +OBJS := scummvmico.o backends/sdl/sdl-common.o backends/sdl/sdl.o EXEEXT :=.exe ####################################################################### @@ -55,7 +55,7 @@ LIBS += -lvorbisfile -lvorbis -logg ####################################################################### # Concat DEFINES and INCLUDES to for the CPPFLAGS -CPPFLAGS= $(DEFINES) $(INCLUDES) +CPPFLAGS:= $(DEFINES) $(INCLUDES) include Makefile.common |