2004/01/13 00:36:21
[org.ibex.core.git] / Makefile
index 11e25f3..e60fd2a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@ build/java/org/xwt/translators/MIPSApps.java: build/mips/mipsapps.mips build/cla
        @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' > $@
 
 build/java/org/xwt/%.java: src/org/xwt/%.java
        make build/class/org/xwt/util/Preprocessor.class