mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Added global makefile
This commit is contained in:
parent
a2c7efe618
commit
b2dcf4e405
8
Makefile
Normal file
8
Makefile
Normal 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
|
@ -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/".
|
make install
|
||||||
* The content of buildscripts/lib/ should be copied to "devkitA64/aarch64-none-elf/lib/".
|
|
||||||
* Build and install switch_crt0 with:
|
|
||||||
make -C crt0 install
|
|
@ -3,3 +3,6 @@ switch_crt0.o: *.s
|
|||||||
|
|
||||||
install: switch_crt0.o
|
install: switch_crt0.o
|
||||||
cp $^ $(DEVKITA64)/aarch64-none-elf/lib/$^
|
cp $^ $(DEVKITA64)/aarch64-none-elf/lib/$^
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f switch_crt0.o
|
||||||
|
Loading…
Reference in New Issue
Block a user