Skip to content

Commit 00f3913

Browse files
committed
Fixed:Missing 3rd lz4w.jar copy process.
Modify:makefile target dependency.
1 parent d077705 commit 00f3913

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

sgdk/Makefile

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
GENDEV?=/opt/toolchains/gen/
1+
GENDEV?=/opt/toolchains/gen
22
MAKE?=make
33
GENBIN=$(GENDEV)/bin
44
GENGCC_BIN=$(GENDEV)/m68k-elf/bin
@@ -41,7 +41,8 @@ tools: sgdk-read-only
4141
make -f ../../../files/Makefile.xgmtool && cp out/xgmtool $(GENDEV)/bin/.
4242
cd sgdk-read-only/tools/rescomp && \
4343
patch -u -p0 < ../../../files/rescomp.diff && \
44-
make -f ../../../files/Makefile.rescomp && cp out/rescomp $(GENDEV)/bin/.
44+
make -f ../../../files/Makefile.rescomp && cp out/rescomp $(GENDEV)/bin/. && \
45+
cp ../../bin/lz4w.jar $(GENDEV)/bin/.
4546

4647
patch:
4748
cd sgdk-read-only && git diff * > ../files/sgdk.diff
@@ -52,11 +53,11 @@ sgdk-read-only:
5253
#svn co http://sgdk.googlecode.com/svn/trunk sgdk-read-only
5354
#patch -u -p0 < files/sgdk.diff
5455

55-
sgdk-read-only/libmd.a:
56+
sgdk-read-only/libmd.a: sgdk-read-only
5657
cd sgdk-read-only && ln -sf ../files/Makefile.sgdk_lib .
5758
cd sgdk-read-only && $(MAKE) -f Makefile.sgdk_lib
5859

59-
install: tools sgdk-read-only sgdk-read-only/libmd.a
60+
install: tools sgdk-read-only/libmd.a
6061
echo "Install"
6162
cd sgdk-read-only && $(MAKE) -f Makefile.sgdk_lib install
6263
install -b sgdk-read-only/md.ld $(GENDEV)/ldscripts/sgdk.ld

0 commit comments

Comments
 (0)