2012-07-03 06:36:27 +00:00
|
|
|
# Before using this Makefile, be sure to do:
|
|
|
|
# $ source /usr/local/angstrom/arm/environment-setup
|
|
|
|
# $ setprj retroarch
|
|
|
|
|
2015-09-20 13:41:28 +00:00
|
|
|
PNDDIR=./pkg/pandora
|
2012-07-03 06:36:27 +00:00
|
|
|
BINDIR=$(PNDDIR)/bin
|
|
|
|
|
2012-07-03 07:40:02 +00:00
|
|
|
all: $(BINDIR)/retroarch
|
|
|
|
mkdir -p $(PNDDIR)/lib
|
|
|
|
@echo "Put libretro-*.so files in $(PNDDIR)/lib/ before making pnd!"
|
2012-07-03 06:36:27 +00:00
|
|
|
|
|
|
|
pnd: retroarch.pnd
|
|
|
|
|
2022-12-31 01:35:08 +00:00
|
|
|
install: all $(BINDIR)/retroarch-zip $(PNDDIR)/readme.html
|
2012-07-03 06:36:27 +00:00
|
|
|
|
|
|
|
retroarch:
|
2022-01-30 08:29:43 +00:00
|
|
|
./configure --prefix=$PND_BASEDIR/$PRJ --disable-ffmpeg --disable-cg --disable-pulse --disable-jack --enable-opengles
|
2012-07-03 06:36:27 +00:00
|
|
|
make -f Makefile
|
|
|
|
|
|
|
|
$(BINDIR)/retroarch: retroarch
|
2012-07-03 07:33:43 +00:00
|
|
|
mkdir -p $(BINDIR)
|
2012-07-03 06:36:27 +00:00
|
|
|
cp retroarch $(BINDIR)/retroarch
|
|
|
|
|
2012-09-18 21:26:16 +00:00
|
|
|
$(BINDIR)/retroarch-zip: retroarch-zip
|
|
|
|
mkdir -p $(BINDIR)
|
|
|
|
cp retroarch-zip $(BINDIR)/retroarch-zip
|
|
|
|
|
2012-07-03 06:36:27 +00:00
|
|
|
$(PNDDIR)/readme.html: README.md
|
|
|
|
markdown README.md > $(PNDDIR)/readme.html
|
|
|
|
|
|
|
|
retroarch.pnd: install
|
2012-07-03 07:43:43 +00:00
|
|
|
pnd_make -c -p retroarch.pnd -d $(PNDDIR)/ -x $(PNDDIR)/PXML.xml -i $(PNDDIR)/icon.png
|
2012-07-03 06:36:27 +00:00
|
|
|
|
|
|
|
clean:
|
2019-02-03 23:49:35 +00:00
|
|
|
rm -f *.o
|
2012-07-03 06:36:27 +00:00
|
|
|
rm -f audio/*.o
|
|
|
|
rm -f conf/*.o
|
|
|
|
rm -f gfx/*.o
|
2015-01-12 22:38:21 +00:00
|
|
|
rm -f gfx/drivers_font/*.o
|
|
|
|
rm -f gfx/drivers_font_renderer/*.o
|
2015-01-12 21:19:31 +00:00
|
|
|
rm -f gfx/drivers_context/*.o
|
2012-07-03 06:36:27 +00:00
|
|
|
rm -f gfx/py_state/*.o
|
|
|
|
rm -f compat/*.o
|
|
|
|
rm -f record/*.o
|
|
|
|
rm -f input/*.o
|
|
|
|
rm -f tools/*.o
|
|
|
|
rm -f $(BINDIR)/retroarch
|
|
|
|
rm -f $(PNDDIR)/readme.html
|
|
|
|
rm -f retroarch
|