mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Added NRO building to buildscripts/. Added elf2nro install to tools/Makefile.
This commit is contained in:
parent
9c5afe8302
commit
94083114ba
@ -22,6 +22,10 @@ LIBNX ?= $(DEVKITPRO)/libnx
|
||||
@echo built ... $(notdir $@)
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
%.nro: %.elf
|
||||
@elf2nro $< $@
|
||||
@echo built ... $(notdir $@)
|
||||
#---------------------------------------------------------------------------------
|
||||
%.elf:
|
||||
@echo linking $(notdir $@)
|
||||
@$(LD) $(LDFLAGS) $(OFILES) $(LIBPATHS) $(LIBS) -o $@
|
||||
|
@ -12,6 +12,7 @@ elf2nro: elf2nro.c
|
||||
install: all
|
||||
cp build_pfs0 $(DEVKITA64)/bin/
|
||||
cp elf2nso $(DEVKITA64)/bin/
|
||||
cp elf2nro $(DEVKITA64)/bin/
|
||||
|
||||
clean:
|
||||
rm -f elf2nso elf2nro build_pfs0
|
||||
|
Loading…
Reference in New Issue
Block a user