view user/build.xml @ 410:6aa9743ed362 tip

Reflect change in c3 public modifier
author Windel Bouwman
date Mon, 23 Feb 2015 21:06:04 +0100
parents a284749c5729
children
line wrap: on
line source


<project name="Userspace" default="all">
    <target name="all" depends="hello,init">
    </target>

    <target name="hello">
        <compile sources="hello/hello.c3;lib/*.c3"
                 target="arm"
                 output="obj/hello.o"/>
        <link output="obj/hello.elf" layout="app.mmap"
            target="arm"
            objects="obj/hello.o"/>
    </target>

    <target name="init">
        <compile sources="init/init.c3;lib/*.c3"
            target="arm"
            output="obj/init.o"/>

        <link
            output="obj/init.elf"
            layout="app.mmap"
            target="arm"
            objects="obj/init.o" />

        <objcopy objectfile="obj/init.elf"
            imagename="flash"
            format="bin"
            output="obj/init.bin" />
    </target>
</project>