From 7c24e9a9b02b04dcaf9507acb94091ea70a2c02d Mon Sep 17 00:00:00 2001 From: Xavi Del Campo Date: Fri, 31 Jan 2020 10:32:23 +0100 Subject: Imported pristine psxsdk-20190410 from official repo --- examples/psxmod/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 examples/psxmod/Makefile (limited to 'examples/psxmod/Makefile') diff --git a/examples/psxmod/Makefile b/examples/psxmod/Makefile new file mode 100644 index 0000000..7a410ec --- /dev/null +++ b/examples/psxmod/Makefile @@ -0,0 +1,16 @@ +PROJNAME = psxmod +PROJ_LIBS = -lmodplay -lm -ladpcm + +include ../project.mk + +SAMPLES = $(patsubst mods/%.mod, mods/%.smp, $(wildcard mods/*.mod)) + +$(PROJNAME)_extra: $(SAMPLES) + mkdir -p cd_root + cp -r mods cd_root + +$(PROJNAME)_clean_extra: + rm -f mods/*.smp + +mods/%.smp: mods/%.mod + mod4psx $< $@ -- cgit v1.2.3