Mercurial > hg > tema
view compile-native @ 11:14fb708ebd3e
Script for native code compilation.
author | Mikhail Kryshen <mikhail@kryshen.net> |
---|---|
date | Tue, 24 Mar 2009 15:09:12 +0300 |
parents | |
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