From f18476dcb6d95ce76fe077f41ddb9c985c1bda98 Mon Sep 17 00:00:00 2001 From: megacz Date: Fri, 30 Jan 2004 07:04:29 +0000 Subject: [PATCH] 2003/08/20 14:03:11 darcs-hash:20040130070429-2ba56-897bc4fb550ec1ce46b708016e6c74bfb2613264.gz --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c958d34..f65e286 100644 --- a/Makefile +++ b/Makefile @@ -168,19 +168,20 @@ freetype.mips: gcc/src/.freetype make -C gcc mips target=mips $(gcc_path)/bin/mips-gcc \ --static \ - -march=r3000 \ + -mabi=32 \ + -mips1 \ -msoft-float \ -o freetype.mips \ -I gcc/src/freetype-2.1.4/include \ $(freetype_sources) \ - -Wl,--warn-once \ + -Wl,--warn-once,--strip \ src/org/xwt/imp/Freetype.c \ $(gcc_path)/mips/lib/libc.a \ -Wl,-T,$(gcc_path)/mips/lib/nullmon.ld bin/org/xwt/imp/Freetype.java: freetype.mips bin/org/xwt/imp/MIPS.class - @echo "translating .mips -> .java: $<" - @java -cp bin org.xwt.imp.MIPS org.xwt.imp.Freetype < freetype.mips > bin/org/xwt/imp/Freetype.java + @echo "translating .mips -> .java: $<" + @java -cp bin org.xwt.imp.MIPS org.xwt.imp.Freetype freetype.mips > bin/org/xwt/imp/Freetype.java # compile is here to force compilation of the .class files (they get used via -Ibin/) without # having the individual .o's depend on the .java's (otherwise every .o gets recompiled when one .java changes) -- 1.7.10.4