mirror of
https://github.com/libretro/blastem.git
synced 2026-11-07 10:15:58 -10:00
This repo has been sitting on the July 2022 state of upstream BlastEm. The sync brings in four years of upstream work, most importantly for this repo the DSL generated CPU cores: upstream's Makefile now switches to NEW_CORE automatically on any architecture that has no native code generator, and genesis.h picks up the generated m68k context in that configuration, which is what makes non-x86 builds possible at all. Only .gitlab-ci.yml and Makefile.libretro are kept from this repo, every other file is upstream's.
35 lines
1.4 KiB
Makefile
35 lines
1.4 KiB
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := main
|
|
|
|
SDL_PATH := android/app/jni/SDL
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include
|
|
|
|
LOCAL_CFLAGS += -std=gnu99 -DNEW_CORE -DUSE_GLES
|
|
|
|
# Add your application source files here...
|
|
LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.c 68kinst.c \
|
|
debug.c gst.c psg.c z80.c backend.c io.c render_sdl.c tern.c gdb_remote.c \
|
|
m68k.c romdb.c util.c wave.c flac.c blastem.c gen.c mem.c vdp.c ym2612.c \
|
|
ymf262.c ym_common.c vgm.c event_log.c render_audio.c config.c terminal.c \
|
|
z80inst.c menu.c arena.c zlib/adler32.c zlib/compress.c zlib/crc32.c \
|
|
zlib/deflate.c zlib/gzclose.c zlib/gzlib.c zlib/gzread.c zlib/gzwrite.c \
|
|
zlib/infback.c zlib/inffast.c zlib/inflate.c zlib/inftrees.c zlib/trees.c \
|
|
zlib/uncompr.c zlib/zutil.c nuklear_ui/font_android.c \
|
|
nuklear_ui/filechooser_null.c nuklear_ui/blastem_nuklear.c \
|
|
nuklear_ui/sfnt.c ppm.c controller_info.c png.c system.c genesis.c sms.c \
|
|
serialize.c saves.c hash.c xband.c zip.c bindings.c jcart.c paths.c \
|
|
megawifi.c nor.c i2c.c sega_mapper.c realtec.c multi_game.c net.c coleco.c \
|
|
pico_pcm.c ymz263b.c segacd.c lc8951.c cdimage.c cdd_mcu.c cd_graphics.c \
|
|
cdd_fader.c rf5c164.c sft_mapper.c mediaplayer.c oscilloscope.c disasm.c \
|
|
i8255.c gen_player.c
|
|
|
|
LOCAL_SHARED_LIBRARIES := SDL2
|
|
|
|
LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|