Skip to content

Commit 78f4808

Browse files
authored
Merge pull request #46 from kubilus1/upgrade-141
Upgrade to SGDK 1.41
2 parents ed8d4fe + 8db7857 commit 78f4808

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

sgdk/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ GENGCC_BIN=$(GENDEV)/bin
44
SGDKDIR=$(CURDIR)/SGDK
55
SAMPLESDIR=$(SGDKDIR)/sample
66

7-
SGDKVER=v1.40
7+
SGDKVER=v1.41
88
SGDKINSTALLDIR=$(GENDEV)/sgdk$(SGDKVER)
99

1010
all: tools $(SGDKDIR) $(SGDKDIR)/libmd.a

sgdk/files/sgdk_v1.41.diff

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
diff --git a/makefile.gen b/makefile.gen
2+
index f12594d..d240b3f 100644
3+
--- a/makefile.gen
4+
+++ b/makefile.gen
5+
@@ -25,6 +25,8 @@ BINTOS= $(BIN)/bintos
6+
RESCOMP= $(JAVA) -jar $(BIN)/rescomp.jar
7+
MKDIR= $(BIN)/mkdir
8+
9+
+include $(GENDEV)/sgdk/mkfiles/makefile.vars
10+
+
11+
SRC_C= $(wildcard *.c)
12+
SRC_C+= $(wildcard $(SRC)/*.c)
13+
SRC_S= $(wildcard *.s)
14+
diff --git a/tools/appack/makefile.elf b/tools/appack/makefile.elf
15+
index 63864f9..2826b2f 100644
16+
--- a/tools/appack/makefile.elf
17+
+++ b/tools/appack/makefile.elf
18+
@@ -12,7 +12,12 @@ objects = appack.o
19+
20+
cflags = -Wall -O2 -s
21+
ldflags = $(cflags)
22+
-incdir = ../lib/elf
23+
+include ./makefile.vars
24+
+ifeq ($(osBits), 32)
25+
+ incdir = ./lib/elf
26+
+else
27+
+ incdir = ./lib/elf64
28+
+endif
29+
libs = $(incdir)/aplib.a
30+
31+
.PHONY: all clean

0 commit comments

Comments
 (0)