Added global makefile

This commit is contained in:
plutoo 2017-09-09 03:23:38 +02:00
parent a2c7efe618
commit b2dcf4e405
3 changed files with 14 additions and 6 deletions

8
Makefile Normal file
View File

@ -0,0 +1,8 @@
all:
make -C buildscripts/ install
make -C crt0/ install
make -C nx/
clean:
make -C crt0/ clean
make -C nx/ clean

View File

@ -1,8 +1,5 @@
Nintendo Switch AArch64-only userland library. Based on libctru.
# Nintendo Switch AArch64-only userland library. Based on libctru.
Install:
Install using:
* The \*rules files under buildscripts/ should be copied to "devkitA64/".
* The content of buildscripts/lib/ should be copied to "devkitA64/aarch64-none-elf/lib/".
* Build and install switch_crt0 with:
make -C crt0 install
make install

View File

@ -3,3 +3,6 @@ switch_crt0.o: *.s
install: switch_crt0.o
cp $^ $(DEVKITA64)/aarch64-none-elf/lib/$^
clean:
rm -f switch_crt0.o