mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-04-02 10:42:14 -04:00
byuu says: Changelog: - nall: added -static-libgcc -static-libstdc++ to Windows/GCC link flags - bsnes, higan: added program icons to main window when game isn't loaded - bsnes: improved recent games menu sorting - bsnes: fixed multi-game recent game loading on Windows - bsnes: completed path override support - bsnes, higan: added screensaver suppression on Windows - icarus: add 32K volatile RAM to SuperFX boards that report no RAM (fixes Starfox) - bsnes, higan: added automatic dependency generation [Talarubi] - hiro/GTK: appending actions to menus restores enabled() state - higan: use board node inside manifest.bml if it exists - bsnes: added blur emulation and color emulation options to view menu - ruby: upgraded input.sdl to SDL 2.0 (though it makes no functional difference sadly) - ruby: removed video.sdl (due to deprecating SDL 1.2) - nall, ruby: improvements to HID class (generic vendor and product IDs) Errata: - bsnes, higan: on Windows, Application::Windows::onScreenSaver needs `[&]` lambda capture, not `[]` - find it in presentation/presentation.cpp
47 lines
1.7 KiB
Makefile
47 lines
1.7 KiB
Makefile
ifeq ($(platform),macos)
|
|
rubyflags = $(objcppflags) $(flags)
|
|
else
|
|
rubyflags = $(cppflags) $(flags)
|
|
endif
|
|
|
|
rubyflags += $(foreach c,$(subst .,_,$(call strupper,$(ruby))),-D$c)
|
|
rubyflags += $(if $(findstring input.sdl,$(ruby)),$(shell sdl2-config --cflags))
|
|
|
|
rubylink =
|
|
|
|
rubylink += $(if $(findstring video.cgl,$(ruby)),-framework OpenGL)
|
|
rubylink += $(if $(findstring video.direct3d,$(ruby)),-ld3d9)
|
|
rubylink += $(if $(findstring video.directdraw,$(ruby)),-lddraw)
|
|
rubylink += $(if $(findstring video.glx,$(ruby)),-lGL)
|
|
rubylink += $(if $(findstring video.wgl,$(ruby)),-lopengl32)
|
|
rubylink += $(if $(findstring video.xvideo,$(ruby)),-lXv)
|
|
|
|
rubylink += $(if $(findstring audio.alsa,$(ruby)),-lasound)
|
|
rubylink += $(if $(findstring audio.ao,$(ruby)),-lao)
|
|
rubylink += $(if $(findstring audio.directsound,$(ruby)),-ldsound)
|
|
rubylink += $(if $(findstring audio.pulseaudio,$(ruby)),-lpulse)
|
|
rubylink += $(if $(findstring audio.pulseaudiosimple,$(ruby)),-lpulse-simple)
|
|
rubylink += $(if $(findstring audio.wasapi,$(ruby)),-lavrt -luuid)
|
|
rubylink += $(if $(findstring audio.xaudio2,$(ruby)),-lole32)
|
|
|
|
rubylink += $(if $(findstring input.sdl,$(ruby)),$(shell sdl2-config --libs))
|
|
rubylink += $(if $(findstring input.udev,$(ruby)),-ludev)
|
|
rubylink += $(if $(findstring input.windows,$(ruby)),-ldinput8 -ldxguid)
|
|
|
|
ifeq ($(platform),windows)
|
|
rubylink += $(if $(findstring audio.openal,$(ruby)),-lopenal32)
|
|
endif
|
|
|
|
ifeq ($(platform),macos)
|
|
rubylink += $(if $(findstring audio.openal,$(ruby)),-framework OpenAL)
|
|
endif
|
|
|
|
ifeq ($(platform),linux)
|
|
rubylink += -lX11 -lXext
|
|
rubylink += $(if $(findstring audio.openal,$(ruby)),-lopenal)
|
|
endif
|
|
|
|
ifeq ($(platform),bsd)
|
|
rubylink += -lX11 -lXext
|
|
rubylink += $(if $(findstring audio.openal,$(ruby)),-lopenal)
|
|
endif
|