2004/01/19 20:51:59
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 08:04:16 +0000 (08:04 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 08:04:16 +0000 (08:04 +0000)
darcs-hash:20040130080416-2ba56-da9adbed89272c258f65e5f6925e093bd48a7a76.gz

Makefile

index 15bdc1f..21fafd2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -156,7 +156,8 @@ build/$(platform)/org/xwt/plat/$(platform).cc.o: src/org/xwt/plat/$(platform).cc
        mkdir -p `dirname $@`
        $(g++) -c $< -o $@
 
-build/$(platform)/$(platform).ar: $(java_sources:build/java/%.java=build/$(platform)/%.java.o)
+nonplat_java_sources := $(filter-out build/java/org/xwt/plat/$(platform).java,$(java_sources))
+build/$(platform)/$(platform).ar: $(nonplat_java_sources:build/java/%.java=build/$(platform)/%.java.o)
        @echo -e "\n\033[1marchiving             .o -> .a\033[0m"
        mkdir -p build/$(platform)
        rm -f $@