view compile-native @ 12:18c28b2b2f10

Merge.
author Mikhail Kryshen <mikhail@kryshen.net>
date Tue, 24 Mar 2009 15:11:22 +0300
parents 14fb708ebd3e
children
line wrap: on
line source

#!/bin/sh
#
# Compile Tema to native code using GCJ.
#

ant compile

compile_classes=$(find build -name '*.class' | grep -v tema/ant)

gcj -o build/demo.template.o -c --resource kryshen/tema/demo/demo.template build/kryshen/tema/demo/demo.template
gcj -g --main=kryshen.tema.Tema -o dist/tema dist/lib/commons-cli-1.1.jar $compile_classes build/demo.template.o

rm build/demo.template.o