X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=Makefile;h=b4d2979c5dea5abd2d8f5119cdc8d28282fcb09c;hp=664150121d31fee94c9cc421cecac94a6aad23ea;hb=6648a20efb79368af2fb16d1694afa685c04a0fc;hpb=72e9e5cdb5055acb2c395e629c28042899462462 diff --git a/Makefile b/Makefile index 6641501..b4d2979 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ dist-clean: JVM: build/JVM/xwt.jar Linux: ; make gcj platform=Linux target=i686-pc-linux-gnu link_flags="-lX11 -lXext" Solaris: ; make gcj platform=Solaris target=sparc-sun-solaris2.7 link_flags="-lX11 -lXext" -Win32: ; make gcj platform=Win32 target=i686-pc-mingw32 link_flags="-Wl,--subsystem,windows -lcomdlg32" target_bin=xwt.exe +Win32: ; make gcj platform=Win32 target=i686-pc-mingw32 link_flags="-Wl,--subsystem,console -lcomdlg32" target_bin=xwt.exe Darwin: ; make gcj platform=Darwin target=powerpc-apple-darwin link_flags="$(darwin_linker_flags)" # default @@ -61,7 +61,7 @@ build/java/org/xwt/translators/MIPSApps.java: build/mips/mipsapps.mips @echo -e "\n\033[1mtranslating .mips -> .java: $<\033[0m" (echo -e 'package org.xwt.translators;\nimport org.xwt.mips.*;\n'; \ java -Xint -cp build/class org.xwt.mips.Compiler MIPSApps build/mips/mipsapps.mips)\ - | sed 's,//.*$$,,;'|tr -d '\n' > $@ + | sed 's,//.*$$,,;'|tr -d '\n' > $@ build/java/org/xwt/%.java: src/org/xwt/%.java make build/class/org/xwt/util/Preprocessor.class @@ -113,6 +113,8 @@ build/h/%.h: build/class/%.class # a hack since we've disabled gcj's awt implementation build/$(platform)/org/xwt/plat/Java2.java.o: touch .empty.c; mkdir -p $(@D); $(gcc) -c .empty.c -o $@; +build/$(platform)/org/xwt/translators/MIPSApps.java.o: build/class/org/xwt/translators/MIPSApps.class + $(gcj) -c $< -o $@ build/$(platform)/org/xwt/plat/AWT.java.o: touch .empty.c; mkdir -p $(@D); $(gcc) -c .empty.c -o $@;