Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eidolon
SRB2
Commits
bef0bc82
Commit
bef0bc82
authored
6 years ago
by
Marco Z
Browse files
Options
Downloads
Plain Diff
Merge branch 'mingw-64bit-cpu-target-revise' into appveyor-64
parents
e7165444
3d2e5886
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Makefile
+22
-15
22 additions, 15 deletions
src/Makefile
src/win32/Makefile.cfg
+0
-2
0 additions, 2 deletions
src/win32/Makefile.cfg
with
22 additions
and
17 deletions
src/Makefile
+
22
−
15
View file @
bef0bc82
...
@@ -104,8 +104,18 @@ endif
...
@@ -104,8 +104,18 @@ endif
ifdef
LINUX64
ifdef
LINUX64
LINUX
=
1
LINUX
=
1
NONX86
=
1
NONX86
=
1
# LINUX64 does not imply X86_64=1; could mean ARM64 or Itanium
endif
endif
ifdef
MINGW64
MINGW
=
1
NONX86
=
1
NOASM
=
1
# MINGW64 should not necessarily imply X86_64=1, but we make that assumption elsewhere
# Once that changes, remove this
X86_64
=
1
endif
#ifdef MINGW64
ifdef
HAIKU
ifdef
HAIKU
SDL
=
1
SDL
=
1
endif
endif
...
@@ -176,11 +186,6 @@ ifdef MINGW
...
@@ -176,11 +186,6 @@ ifdef MINGW
include
win32/Makefile.cfg
include
win32/Makefile.cfg
endif
#ifdef MINGW
endif
#ifdef MINGW
ifdef
MINGW64
MINGW
=
1
include
win32/Makefile.cfg
endif
#ifdef MINGW64
ifdef
UNIX
ifdef
UNIX
UNIXCOMMON
=
1
UNIXCOMMON
=
1
endif
endif
...
@@ -288,11 +293,13 @@ OPTS += -DCOMPVERSION
...
@@ -288,11 +293,13 @@ OPTS += -DCOMPVERSION
ifndef
NONX86
ifndef
NONX86
ifndef
GCC29
ifndef
GCC29
M5
=
-march
=
pentium
ARCHOPTS
?=
-march
=
pentium
M4
=
-march
=
i486
else
ARCHOPTS
?=
-mpentium
endif
else
else
M5
=
-mpentium
ifdef
X86_64
M4
=
-m486
ARCHOPTS
?=
-march
=
nocona
endif
endif
endif
endif
...
@@ -421,7 +428,7 @@ else
...
@@ -421,7 +428,7 @@ else
WINDRESFLAGS
=
-DNDEBUG
WINDRESFLAGS
=
-DNDEBUG
CFLAGS
+=
-O3
CFLAGS
+=
-O3
endif
endif
CFLAGS
+=
-g
$(
OPTS
)
$(
M5
)
$(
WINDRESFLAGS
)
CFLAGS
+=
-g
$(
OPTS
)
$(
ARCHOPTS
)
$(
WINDRESFLAGS
)
ifdef
YASM
ifdef
YASM
ifdef
STABS
ifdef
STABS
...
@@ -909,15 +916,15 @@ endif
...
@@ -909,15 +916,15 @@ endif
ifndef
NOHS
ifndef
NOHS
$(OBJDIR)/s_ds3d.o
:
hardware/s_ds3d/s_ds3d.c hardware/hw3dsdrv.h
\
$(OBJDIR)/s_ds3d.o
:
hardware/s_ds3d/s_ds3d.c hardware/hw3dsdrv.h
\
hardware/hw_dll.h
hardware/hw_dll.h
$(
CC
)
$(
M5
)
-Os
-o
$(
OBJDIR
)
/s_ds3d.o
$(
WFLAGS
)
-D_WINDOWS
-mwindows
-c
hardware/s_ds3d/s_ds3d.c
$(
CC
)
$(
ARCHOPTS
)
-Os
-o
$(
OBJDIR
)
/s_ds3d.o
$(
WFLAGS
)
-D_WINDOWS
-mwindows
-c
hardware/s_ds3d/s_ds3d.c
$(OBJDIR)/s_fmod.o
:
hardware/s_openal/s_openal.c hardware/hw3dsdrv.h
\
$(OBJDIR)/s_fmod.o
:
hardware/s_openal/s_openal.c hardware/hw3dsdrv.h
\
hardware/hw_dll.h
hardware/hw_dll.h
$(
CC
)
$(
M5
)
-Os
-o
$(
OBJDIR
)
/s_fmod.o
$(
WFLAGS
)
-D_WINDOWS
-mwindows
-c
hardware/s_fmod/s_fmod.c
$(
CC
)
$(
ARCHOPTS
)
-Os
-o
$(
OBJDIR
)
/s_fmod.o
$(
WFLAGS
)
-D_WINDOWS
-mwindows
-c
hardware/s_fmod/s_fmod.c
$(OBJDIR)/s_openal.o
:
hardware/s_openal/s_openal.c hardware/hw3dsdrv.h
\
$(OBJDIR)/s_openal.o
:
hardware/s_openal/s_openal.c hardware/hw3dsdrv.h
\
hardware/hw_dll.h
hardware/hw_dll.h
$(
CC
)
$(
M5
)
-Os
-o
$(
OBJDIR
)
/s_openal.o
$(
WFLAGS
)
-D_WINDOWS
-mwindows
-c
hardware/s_openal/s_openal.c
$(
CC
)
$(
ARCHOPTS
)
-Os
-o
$(
OBJDIR
)
/s_openal.o
$(
WFLAGS
)
-D_WINDOWS
-mwindows
-c
hardware/s_openal/s_openal.c
endif
endif
endif
endif
endif
endif
...
@@ -947,11 +954,11 @@ else
...
@@ -947,11 +954,11 @@ else
$(OBJDIR)/s_fmod.o
:
hardware/s_fmod/s_fmod.c hardware/hw3dsdrv.h
\
$(OBJDIR)/s_fmod.o
:
hardware/s_fmod/s_fmod.c hardware/hw3dsdrv.h
\
hardware/hw_dll.h
hardware/hw_dll.h
$(
CC
)
$(
M5
)
-Os
-o
$(
OBJDIR
)
/s_fmod.o
-DHW3SOUND
-DUNIXCOMMON
-shared
-nostartfiles
-c
hardware/s_fmod/s_fmod.c
$(
CC
)
$(
ARCHOPTS
)
-Os
-o
$(
OBJDIR
)
/s_fmod.o
-DHW3SOUND
-DUNIXCOMMON
-shared
-nostartfiles
-c
hardware/s_fmod/s_fmod.c
$(OBJDIR)/s_openal.o
:
hardware/s_openal/s_openal.c hardware/hw3dsdrv.h
\
$(OBJDIR)/s_openal.o
:
hardware/s_openal/s_openal.c hardware/hw3dsdrv.h
\
hardware/hw_dll.h
hardware/hw_dll.h
$(
CC
)
$(
M5
)
-Os
-o
$(
OBJDIR
)
/s_openal.o
-DHW3SOUND
-DUNIXCOMMON
-shared
-nostartfiles
-c
hardware/s_openal/s_openal.c
$(
CC
)
$(
ARCHOPTS
)
-Os
-o
$(
OBJDIR
)
/s_openal.o
-DHW3SOUND
-DUNIXCOMMON
-shared
-nostartfiles
-c
hardware/s_openal/s_openal.c
endif
endif
ifdef
FILTERS
ifdef
FILTERS
...
...
This diff is collapsed.
Click to expand it.
src/win32/Makefile.cfg
+
0
−
2
View file @
bef0bc82
...
@@ -7,8 +7,6 @@
...
@@ -7,8 +7,6 @@
#
#
ifdef
MINGW64
ifdef
MINGW64
NOASM
=
1
NONX86
=
1
HAVE_LIBGME
=
1
HAVE_LIBGME
=
1
LIBGME_CFLAGS
=
-I../libs/gme/include
LIBGME_CFLAGS
=
-I../libs/gme/include
LIBGME_LDFLAGS
=
-L../libs/gme/win64 -lgme
LIBGME_LDFLAGS
=
-L../libs/gme/win64 -lgme
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment