mirror of
https://github.com/libretro/desmume.git
synced 2024-11-22 23:59:58 +00:00
Improve Makefile
This commit is contained in:
parent
ad07fefd34
commit
3af49d8d5d
0
desmume/src/GPU.cpp
Executable file → Normal file
0
desmume/src/GPU.cpp
Executable file → Normal file
0
desmume/src/GPU.h
Executable file → Normal file
0
desmume/src/GPU.h
Executable file → Normal file
0
desmume/src/NDSSystem.cpp
Executable file → Normal file
0
desmume/src/NDSSystem.cpp
Executable file → Normal file
0
desmume/src/NDSSystem.h
Executable file → Normal file
0
desmume/src/NDSSystem.h
Executable file → Normal file
0
desmume/src/OGLRender_3_2.cpp
Executable file → Normal file
0
desmume/src/OGLRender_3_2.cpp
Executable file → Normal file
0
desmume/src/driver.h
Executable file → Normal file
0
desmume/src/driver.h
Executable file → Normal file
0
desmume/src/frontend/cocoa/AppIcon_DeSmuME.icns
Executable file → Normal file
0
desmume/src/frontend/cocoa/AppIcon_DeSmuME.icns
Executable file → Normal file
0
desmume/src/frontend/cocoa/DeSmuME (XCode 3).xcodeproj/project.pbxproj
Executable file → Normal file
0
desmume/src/frontend/cocoa/DeSmuME (XCode 3).xcodeproj/project.pbxproj
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SIL Open Font License.txt
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SIL Open Font License.txt
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-Black.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-Black.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-BlackIt.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-BlackIt.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-Bold.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-Bold.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-BoldIt.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-BoldIt.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-ExtraLight.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-ExtraLight.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-ExtraLightIt.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-ExtraLightIt.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-It.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-It.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-Light.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-Light.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-LightIt.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-LightIt.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-Regular.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-Regular.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-Semibold.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-Semibold.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-SemiboldIt.otf
Executable file → Normal file
0
desmume/src/frontend/cocoa/source-sans-pro/SourceSansPro-SemiboldIt.otf
Executable file → Normal file
@ -15,20 +15,39 @@ ifneq ($(SANITIZER),)
|
||||
endif
|
||||
|
||||
ifeq ($(platform),)
|
||||
platform = unix
|
||||
ifeq ($(shell uname -a),)
|
||||
platform = win
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
platform = win
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
platform = osx
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
platform = win
|
||||
endif
|
||||
else ifneq (,$(findstring armv,$(platform)))
|
||||
ifeq (,$(findstring classic_,$(platform)))
|
||||
override platform += unix
|
||||
endif
|
||||
platform = unix
|
||||
ifeq ($(shell uname -a),)
|
||||
platform = win
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
platform = osx
|
||||
arch = intel
|
||||
ifeq ($(shell uname -p),arm)
|
||||
arch = arm
|
||||
endif
|
||||
ifeq ($(shell uname -p),powerpc)
|
||||
arch = ppc
|
||||
endif
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
platform = win
|
||||
endif
|
||||
endif
|
||||
|
||||
# system platform
|
||||
system_platform = unix
|
||||
ifeq ($(shell uname -a),)
|
||||
EXE_EXT = .exe
|
||||
system_platform = win
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
system_platform = osx
|
||||
arch = intel
|
||||
ifeq ($(shell uname -p),arm)
|
||||
arch = ppc
|
||||
endif
|
||||
ifeq ($(shell uname -p),powerpc)
|
||||
arch = ppc
|
||||
endif
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
system_platform = win
|
||||
endif
|
||||
|
||||
prefix := /usr
|
||||
@ -136,17 +155,30 @@ else ifeq ($(platform), osx)
|
||||
TARGET := $(TARGET_NAME)_libretro.dylib
|
||||
fpic := -fPIC
|
||||
SHARED := -dynamiclib -framework OpenGL
|
||||
|
||||
ifeq ($(UNIVERSAL),1)
|
||||
ifeq ($(ARCHFLAGS),)
|
||||
ARCHFLAGS = -arch i386 -arch x86_64
|
||||
ifeq ($(archs),arm)
|
||||
ARCHFLAGS = -arch arm64
|
||||
endif
|
||||
ifeq ($(archs),ppc)
|
||||
ARCHFLAGS = -arch ppc -arch ppc64
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CROSS_COMPILE),1)
|
||||
ARCHFLAGS = -arch $(ARCH) -target $(LIBRETRO_APPLE_PLATFORM) -isysroot $(LIBRETRO_APPLE_ISYSROOT)
|
||||
else
|
||||
ifneq ($(shell uname -m),arm64)
|
||||
ifeq ($(archs),arm)
|
||||
DESMUME_JIT = 1
|
||||
endif
|
||||
endif
|
||||
ifeq ($(OSX_LT_MAVERICKS),"YES")
|
||||
fpic += -mmacosx-version-min=10.2
|
||||
else
|
||||
fpic += -mmacosx-version-min=10.7 -stdlib=libc++
|
||||
fpic += -mmacosx-version-min=10.7 -stdlib=libc++
|
||||
endif
|
||||
CFLAGS += -DAPPLE_ATOMICS
|
||||
CXXFLAGS += -DAPPLE_ATOMICS
|
||||
@ -155,7 +187,7 @@ endif
|
||||
CXXFLAGS += $(ARCHFLAGS)
|
||||
LDFLAGS += $(ARCHFLAGS)
|
||||
endif
|
||||
DESMUME_OPENGL = 1
|
||||
DESMUME_OPENGL = 1
|
||||
|
||||
# iOS
|
||||
else ifneq (,$(findstring ios,$(platform)))
|
||||
|
0
desmume/src/frontend/posix/gtk-glade/callbacks.cpp
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/callbacks.cpp
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/callbacks.h
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/callbacks.h
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/callbacks_IO.cpp
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/callbacks_IO.cpp
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/callbacks_IO.h
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/callbacks_IO.h
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/dTools/callbacks_1_ioregs.cpp
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/dTools/callbacks_1_ioregs.cpp
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/dTools/callbacks_2_memview.cpp
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/dTools/callbacks_2_memview.cpp
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/dTools/callbacks_3_palview.cpp
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/dTools/callbacks_3_palview.cpp
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/dTools/callbacks_4_tileview.cpp
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/dTools/callbacks_4_tileview.cpp
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/dTools/callbacks_dtools.h
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/dTools/callbacks_dtools.h
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/dTools/dTools_display.h
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/dTools/dTools_display.h
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/desmume.cpp
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/desmume.cpp
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/desmume.h
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/desmume.h
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/gdk_gl.cpp
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/gdk_gl.cpp
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/gdk_gl.h
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/gdk_gl.h
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/glade-xml.cpp
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/glade-xml.cpp
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/glade/DeSmuME.xpm
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/glade/DeSmuME.xpm
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/glade/DeSmuMe.glade
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/glade/DeSmuMe.glade
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/glade/DeSmuMe_Dtools.glade
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/glade/DeSmuMe_Dtools.glade
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/globals.h
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/globals.h
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/keyval_names.cpp
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/keyval_names.cpp
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/keyval_names.h
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/keyval_names.h
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/main.cpp
Executable file → Normal file
0
desmume/src/frontend/posix/gtk-glade/main.cpp
Executable file → Normal file
0
desmume/src/frontend/posix/gtk/dylibbundler
Executable file → Normal file
0
desmume/src/frontend/posix/gtk/dylibbundler
Executable file → Normal file
0
desmume/src/frontend/windows/7z.dll
Normal file → Executable file
0
desmume/src/frontend/windows/7z.dll
Normal file → Executable file
0
desmume/src/frontend/windows/7z.exe
Normal file → Executable file
0
desmume/src/frontend/windows/7z.exe
Normal file → Executable file
0
desmume/src/frontend/windows/aviout.cpp
Executable file → Normal file
0
desmume/src/frontend/windows/aviout.cpp
Executable file → Normal file
0
desmume/src/frontend/windows/aviout.h
Executable file → Normal file
0
desmume/src/frontend/windows/aviout.h
Executable file → Normal file
0
desmume/src/frontend/windows/inputdx.cpp
Executable file → Normal file
0
desmume/src/frontend/windows/inputdx.cpp
Executable file → Normal file
0
desmume/src/frontend/windows/main.cpp
Executable file → Normal file
0
desmume/src/frontend/windows/main.cpp
Executable file → Normal file
0
desmume/src/frontend/windows/ogl_display.cpp
Executable file → Normal file
0
desmume/src/frontend/windows/ogl_display.cpp
Executable file → Normal file
0
desmume/src/frontend/windows/ogl_display.h
Executable file → Normal file
0
desmume/src/frontend/windows/ogl_display.h
Executable file → Normal file
0
desmume/src/frontend/windows/resource.h
Executable file → Normal file
0
desmume/src/frontend/windows/resource.h
Executable file → Normal file
0
desmume/src/frontend/windows/resources.rc
Executable file → Normal file
0
desmume/src/frontend/windows/resources.rc
Executable file → Normal file
0
desmume/src/frontend/windows/snddx.cpp
Executable file → Normal file
0
desmume/src/frontend/windows/snddx.cpp
Executable file → Normal file
0
desmume/src/frontend/windows/snddx.h
Executable file → Normal file
0
desmume/src/frontend/windows/snddx.h
Executable file → Normal file
0
desmume/src/frontend/windows/touch.exe
Normal file → Executable file
0
desmume/src/frontend/windows/touch.exe
Normal file → Executable file
0
desmume/src/frontend/windows/winpcap.h
Executable file → Normal file
0
desmume/src/frontend/windows/winpcap.h
Executable file → Normal file
0
desmume/src/libretro-common/audio/dsp_filters/configure
vendored
Normal file → Executable file
0
desmume/src/libretro-common/audio/dsp_filters/configure
vendored
Normal file → Executable file
0
desmume/src/libretro-common/samples/utils/crc32.exe
Normal file → Executable file
0
desmume/src/libretro-common/samples/utils/crc32.exe
Normal file → Executable file
0
desmume/src/libretro-common/samples/utils/djb2.exe
Normal file → Executable file
0
desmume/src/libretro-common/samples/utils/djb2.exe
Normal file → Executable file
0
desmume/src/libretro-common/samples/utils/md5.exe
Normal file → Executable file
0
desmume/src/libretro-common/samples/utils/md5.exe
Normal file → Executable file
0
desmume/src/libretro-common/samples/utils/sha1.exe
Normal file → Executable file
0
desmume/src/libretro-common/samples/utils/sha1.exe
Normal file → Executable file
0
desmume/src/metaspu/SoundTouch/build.sh
Normal file → Executable file
0
desmume/src/metaspu/SoundTouch/build.sh
Normal file → Executable file
0
desmume/src/movie.cpp
Executable file → Normal file
0
desmume/src/movie.cpp
Executable file → Normal file
0
desmume/src/movie.h
Executable file → Normal file
0
desmume/src/movie.h
Executable file → Normal file
0
desmume/src/rasterize.cpp
Executable file → Normal file
0
desmume/src/rasterize.cpp
Executable file → Normal file
0
desmume/src/render3D.cpp
Executable file → Normal file
0
desmume/src/render3D.cpp
Executable file → Normal file
0
desmume/src/types.h
Executable file → Normal file
0
desmume/src/types.h
Executable file → Normal file
0
desmume/src/utils/colorspacehandler/colorspacehandler.cpp
Executable file → Normal file
0
desmume/src/utils/colorspacehandler/colorspacehandler.cpp
Executable file → Normal file
0
desmume/src/wifi.cpp
Executable file → Normal file
0
desmume/src/wifi.cpp
Executable file → Normal file
0
desmume/src/wifi.h
Executable file → Normal file
0
desmume/src/wifi.h
Executable file → Normal file
0
tools/IDA/nds.ldw
Normal file → Executable file
0
tools/IDA/nds.ldw
Normal file → Executable file
Loading…
Reference in New Issue
Block a user