Commit graph

10 commits

Author SHA1 Message Date
Emery Hemingway
fd6547e86f Tupfiles for super-repositories
Add minimal metadata for a Tup build system. Tup will discover any file
named "Tupfile" in a the sub-directories where it is run. In this case a
tupfile defines the core name and invokes the "include_rules" directive,
which will include the Tup rules defined in parent directories. This
allows a parent repository with platform-specific build rules to host
this repository as a submodule. The sample cores may thus be ported to
new platforms without polluting the local makefiles. Naturally the
external build rules must be synchronized with the source code herein,
the tupfiles here only define TARGET_NAME so that they will never
contradict information contained in the makefiles.

A sample Tuprules.tup for a super-repository:

ifeq ($(TARGET_NAME),advanced_tests)
	CFLAGS += -I../../libretro-common/include
	SOURCES_C += libretro-test.c
endif
CFLAGS += -O3 -Wall -pedantic -std=gnu99
: foreach $(SOURCES_C) |> !libretro_cc |> {objs}
: {objs} |> !libretro_ld |> $(TARGET_NAME)_libretro.so
2019-03-03 12:34:32 +01:00
Emery Hemingway
1dc9301a32 Report a zero audio sample rate for silent cores
The MIDI test is not silent, but does not use sampled audio.
2019-03-03 11:51:09 +01:00
Brad Parker
882017db1f rename button_test target 2018-04-18 12:11:33 -04:00
Brad Parker
15425c784b button_test: remove testinput_ from output name 2018-04-18 12:06:02 -04:00
Brad Parker
e41b281820 button_test: add libretro-common files 2018-04-18 12:04:51 -04:00
Brad Parker
688d696e75 add wiiu target 2018-04-18 12:02:54 -04:00
twinaphex
ef7753ee44 Add samples/lang 2016-10-01 03:07:58 +02:00
twinaphex
c767baf8a7 Remove some header files 2016-09-05 03:42:18 +02:00
Twinaphex
478b8df9eb Update README.md 2016-09-04 18:36:16 +02:00
twinaphex
5f6a8d2404 Add input/button_test 2016-09-04 09:09:04 +02:00