summaryrefslogtreecommitdiff
path: root/misc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/Makefile')
-rw-r--r--misc/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
new file mode 100644
index 0000000..295732b
--- /dev/null
+++ b/misc/Makefile
@@ -0,0 +1,16 @@
+include ../Makefile.cfg
+
+all:
+ sh genscripts.sh $(TOOLCHAIN_PREFIX)
+
+clean:
+ rm -f playstation.x psx-gcc psx-g++
+
+distclean: clean
+
+install: all
+ mkdir -p $(TOOLCHAIN_PREFIX)/bin
+ mkdir -p $(TOOLCHAIN_PREFIX)/mipsel-unknown-elf/lib/ldscripts
+ cp -v psx-gcc $(TOOLCHAIN_PREFIX)/bin
+ cp -v psx-g++ $(TOOLCHAIN_PREFIX)/bin
+ cp -v playstation.x $(TOOLCHAIN_PREFIX)/mipsel-unknown-elf/lib/ldscripts