File tree 2 files changed +12
-5
lines changed
2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ patch: $(SGDKDIR)
24
24
prep : $(SGDKDIR )
25
25
cd $(SGDKDIR ) && patch -u -p1 -l < ../files/sgdk_$(SGDKVER ) .diff
26
26
27
+ SGDK : $(SGDKDIR )
27
28
$(SGDKDIR ) :
28
29
git clone -b ' $(SGDKVER)' --single-branch --depth 1 https://github.com/Stephane-D/SGDK.git
29
30
Original file line number Diff line number Diff line change 1
1
diff --git a/makefile.gen b/makefile.gen
2
- index 2954963..5762be9 100644
2
+ index b2e19e1..61f4f56 100644
3
3
--- a/makefile.gen
4
4
+++ b/makefile.gen
5
5
@@ -25,6 +25,8 @@ BINTOS= $(BIN)/bintos
@@ -10,7 +10,16 @@ index 2954963..5762be9 100644
10
10
+
11
11
SRC_C= $(wildcard *.c)
12
12
SRC_C+= $(wildcard $(SRC)/*.c)
13
- SRC_C+= $(wildcard $(SRC)/*/*.c)
13
+ SRC_S= $(wildcard *.s)
14
+ @@ -114,7 +116,7 @@ out/rom.bin: out/rom.out
15
+ $(SIZEBND) out/rom.bin -sizealign 131072
16
+
17
+ out/symbol.txt: out/rom.out
18
+ - $(NM) --plugin=liblto_plugin-0.dll -n out/rom.out > out/symbol.txt
19
+ + $(NM) -n out/rom.out > out/symbol.txt
20
+
21
+ out/rom.out: out/sega.o out/cmd_ $(LIBMD)
22
+ $(CC) -B$(BIN) -n -T $(GDK)/md.ld -nostdlib out/sega.o @out/cmd_ $(LIBMD) $(LIB)/libgcc.a -o out/rom.out
14
23
diff --git a/tools/appack/makefile.elf b/tools/appack/makefile.elf
15
24
index fb10510..527053d 100644
16
25
--- a/tools/appack/makefile.elf
@@ -31,6 +40,3 @@ index fb10510..527053d 100644
31
40
libs = $(incdir)/aplib.a
32
41
33
42
.PHONY: all clean
34
- - -
35
- 2.17.0
36
-
You can’t perform that action at this time.
0 commit comments