2003/08/20 14:03:11
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:04:29 +0000 (07:04 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:04:29 +0000 (07:04 +0000)
darcs-hash:20040130070429-2ba56-897bc4fb550ec1ce46b708016e6c74bfb2613264.gz

Makefile

index c958d34..f65e286 100644 (file)
--- 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)