Mercurial > lcfOS
view user/build.xml @ 400:0374c65cb437
Move compiler to seperate repo
author | Windel Bouwman |
---|---|
date | Mon, 14 Jul 2014 22:23:55 +0200 |
parents | c0d9837acde8 |
children | 0fb6633c42f6 |
line wrap: on
line source
<project name="Userspace" default="all"> <target name="all" depends="hello,init"> </target> <target name="lib"> <compile sources="lib.c3;ipc.c3" target="arm" output="lib.o"/> </target> <target name="hello" depends="lib"> <compile sources="hello.c3" includes="lib.c3;ipc.c3" target="arm" output="hello.o"/> <link output="hello" layout="app.mmap" target="arm" objects="hello.o;lib.o"/> </target> <target name="init"> <compile sources="init.c3" includes="lib.c3;ipc.c3" target="arm" output="init.o"/> <link output="init" layout="app.mmap" target="arm" objects="init.o;lib.o" /> <objcopy objectfile="init" imagename="flash" output="init.bin" /> </target> </project>