mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00

* frontend: Added support for message context to localisations. * frontend: Added string_view versions of the message lookup functions. * frontend: Added a few more folder options to the internal UI. * emu/softlist.cpp: Use more appropriate containers. * Switched to Python 3 by default - this will become a requirement. * Updated msgfmt.py for message context support. * frontend: Show all software item info in the internal UI. * frontend: Search alternate titles in software selection menu. * 3rdparty/utf8proc: Updated to v2.6.1 (has several fixes). * frontend: Added software filters for common info fields. * frontend: Allow UI manager to hold onto persistent session data. * frontend: Cache software lists for eight machines. * frontend: Added support for loading localised system names. * frontend: Add UI for selecting localised system names.
41 lines
920 B
Makefile
41 lines
920 B
Makefile
CURL=curl
|
|
|
|
CC = cc
|
|
CFLAGS ?= -O2
|
|
CFLAGS += -std=c99 -pedantic -Wall
|
|
|
|
all: bench
|
|
|
|
LIBUTF8PROC = ../utf8proc.o
|
|
|
|
bench: bench.o util.o $(LIBUTF8PROC)
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ bench.o util.o $(LIBUTF8PROC)
|
|
|
|
DATAURL = https://raw.githubusercontent.com/duerst/eprun/master/benchmark
|
|
DATAFILES = Deutsch_.txt Japanese_.txt Korean_.txt Vietnamese_.txt
|
|
|
|
$(DATAFILES):
|
|
$(CURL) -O $(DATAURL)/$@
|
|
|
|
bench.out: $(DATAFILES) bench
|
|
./bench -nfkc $(DATAFILES) > $@
|
|
|
|
# you may need make CPPFLAGS=... LDFLAGS=... to help it find ICU
|
|
icu: icu.o util.o
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ icu.o util.o -licuuc
|
|
|
|
icu.out: $(DATAFILES) icu
|
|
./icu $(DATAFILES) > $@
|
|
|
|
unistring: unistring.o util.o
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ unistring.o util.o -lunistring
|
|
|
|
unistring.out: $(DATAFILES) unistring
|
|
./unistring $(DATAFILES) > $@
|
|
|
|
.c.o:
|
|
$(CC) $(CPPFLAGS) -I.. $(CFLAGS) -c -o $@ $<
|
|
|
|
clean:
|
|
rm -rf *.o *.txt bench *.out icu unistring
|