mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +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 $@)
|
@echo built ... $(notdir $@)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
|
%.nro: %.elf
|
||||||
|
@elf2nro $< $@
|
||||||
|
@echo built ... $(notdir $@)
|
||||||
|
#---------------------------------------------------------------------------------
|
||||||
%.elf:
|
%.elf:
|
||||||
@echo linking $(notdir $@)
|
@echo linking $(notdir $@)
|
||||||
@$(LD) $(LDFLAGS) $(OFILES) $(LIBPATHS) $(LIBS) -o $@
|
@$(LD) $(LDFLAGS) $(OFILES) $(LIBPATHS) $(LIBS) -o $@
|
||||||
|
@ -12,6 +12,7 @@ elf2nro: elf2nro.c
|
|||||||
install: all
|
install: all
|
||||||
cp build_pfs0 $(DEVKITA64)/bin/
|
cp build_pfs0 $(DEVKITA64)/bin/
|
||||||
cp elf2nso $(DEVKITA64)/bin/
|
cp elf2nso $(DEVKITA64)/bin/
|
||||||
|
cp elf2nro $(DEVKITA64)/bin/
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f elf2nso elf2nro build_pfs0
|
rm -f elf2nso elf2nro build_pfs0
|
||||||
|
Loading…
Reference in New Issue
Block a user