mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
remove unused version number in Makefile
This commit is contained in:
parent
de7cfeb3d9
commit
0085500b1a
19
nx/Makefile
19
nx/Makefile
@ -8,13 +8,6 @@ endif
|
|||||||
|
|
||||||
include $(DEVKITPRO)/devkitA64/base_rules
|
include $(DEVKITPRO)/devkitA64/base_rules
|
||||||
|
|
||||||
export LIBNX_MAJOR := 4
|
|
||||||
export LIBNX_MINOR := 7
|
|
||||||
export LIBNX_PATCH := 0
|
|
||||||
|
|
||||||
|
|
||||||
VERSION := $(LIBNX_MAJOR).$(LIBNX_MINOR).$(LIBNX_PATCH)
|
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# TARGET is the name of the output
|
# TARGET is the name of the output
|
||||||
# BUILD is the directory where object files & intermediate files will be placed
|
# BUILD is the directory where object files & intermediate files will be placed
|
||||||
@ -98,14 +91,12 @@ all: lib/libnx.a lib/libnxd.a
|
|||||||
dist-bin: all
|
dist-bin: all
|
||||||
@tar --exclude=*~ -cjf libnx-$(VERSION).tar.bz2 include lib default_icon.jpg switch_rules switch.ld switch.specs -C external/bsd include
|
@tar --exclude=*~ -cjf libnx-$(VERSION).tar.bz2 include lib default_icon.jpg switch_rules switch.ld switch.specs -C external/bsd include
|
||||||
|
|
||||||
dist-src:
|
|
||||||
@tar --exclude=*~ -cjf libnx-src-$(VERSION).tar.bz2 include source data external Makefile default_icon.jpg switch_rules switch.ld switch.specs
|
|
||||||
|
|
||||||
dist: dist-src dist-bin
|
install: lib/libnx.a lib/libnxd.a
|
||||||
|
@mkdir -p $(DESTDIR)$(DEVKITPRO)/libnx
|
||||||
install: dist-bin
|
@cp -v default_icon.jpg switch_rules switch.ld switch.specs $(DESTDIR)$(DEVKITPRO)/libnx/
|
||||||
mkdir -p $(DESTDIR)$(DEVKITPRO)/libnx
|
@cp -rv include $(DESTDIR)$(DEVKITPRO)/libnx/
|
||||||
bzip2 -cd libnx-$(VERSION).tar.bz2 | tar -xf - -C $(DESTDIR)$(DEVKITPRO)/libnx
|
@cp -rv external/bsd/include $(DESTDIR)$(DEVKITPRO)/libnx/
|
||||||
|
|
||||||
#dox:
|
#dox:
|
||||||
# @doxygen Doxyfile
|
# @doxygen Doxyfile
|
||||||
|
Loading…
Reference in New Issue
Block a user