File tree 2 files changed +32
-1
lines changed
2 files changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ GENGCC_BIN=$(GENDEV)/bin
4
4
SGDKDIR =$(CURDIR ) /SGDK
5
5
SAMPLESDIR =$(SGDKDIR ) /sample
6
6
7
- SGDKVER =v1.40
7
+ SGDKVER =v1.41
8
8
SGDKINSTALLDIR =$(GENDEV ) /sgdk$(SGDKVER )
9
9
10
10
all : tools $(SGDKDIR ) $(SGDKDIR ) /libmd.a
Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments