view user/build.xml @ 402:0fb6633c42f6

Moved several files to logical locations
author Windel Bouwman
date Thu, 19 Feb 2015 00:13:07 +0100
parents c0d9837acde8
children a284749c5729
line wrap: on
line source


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

    <target name="hello">
        <compile sources="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>