view user/build.xml @ 393:6ae782a085e0

Added init program
author Windel Bouwman
date Sat, 17 May 2014 21:17:40 +0200
parents d056b552d3f4
children c0d9837acde8
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"/>
    </target>
</project>