File tree Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change 8
8
9
9
include $(DEVKITPRO ) /devkitA64/base_rules
10
10
11
- export LIBNX_MAJOR := 4
12
- export LIBNX_MINOR := 7
13
- export LIBNX_PATCH := 0
14
-
15
-
16
- VERSION := $(LIBNX_MAJOR ) .$(LIBNX_MINOR ) .$(LIBNX_PATCH )
17
-
18
11
# ---------------------------------------------------------------------------------
19
12
# TARGET is the name of the output
20
13
# BUILD is the directory where object files & intermediate files will be placed
@@ -98,14 +91,15 @@ all: lib/libnx.a lib/libnxd.a
98
91
dist-bin : all
99
92
@tar --exclude=* ~ -cjf libnx-$(VERSION ) .tar.bz2 include lib default_icon.jpg switch_rules switch.ld switch.specs -C external/bsd include
100
93
101
- dist-src :
102
- @tar --exclude=* ~ -cjf libnx-src-$(VERSION ) .tar.bz2 include source data external Makefile default_icon.jpg switch_rules switch.ld switch.specs
103
94
104
- dist : dist-src dist-bin
95
+ install : lib/libnx.a lib/libnxd.a
96
+ @mkdir -p $(DESTDIR )$(DEVKITPRO ) /libnx
97
+ @cp -v default_icon.jpg switch_rules switch.ld switch.specs $(DESTDIR )$(DEVKITPRO ) /libnx/
98
+ @cp -rv include $(DESTDIR )$(DEVKITPRO ) /libnx/
99
+ @cp -rv external/bsd/include $(DESTDIR )$(DEVKITPRO ) /libnx/
105
100
106
- install : dist-bin
107
- mkdir -p $(DESTDIR )$(DEVKITPRO ) /libnx
108
- bzip2 -cd libnx-$(VERSION ) .tar.bz2 | tar -xf - -C $(DESTDIR )$(DEVKITPRO ) /libnx
101
+ dist-src :
102
+ @tar -cjf libnx-` git describe --tags | sed ' s/^v//' ` .tar.bz2 include source data external Makefile default_icon.jpg switch_rules switch.ld switch.specs
109
103
110
104
# dox:
111
105
# @doxygen Doxyfile
You can’t perform that action at this time.
0 commit comments