FreeCalypso > hg > freecalypso-sw
view loadagent/Makefile @ 2:ddda170fa6f4
loadagent.elf compiled and linked, no printf yet
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 29 Apr 2013 05:21:05 +0000 |
parents | |
children | 4a7a325ed1b6 |
line wrap: on
line source
CC= arm-elf-gcc CFLAGS= -Os -fno-builtin LD= arm-elf-ld OBJS= crt0.o main.o serio.o serwait.o TC_LIBS=`${CC} -print-file-name=libc.a` \ `${CC} -print-file-name=libgcc.a` all: loadagent.elf loadagent.elf: ${OBJS} loadagent.lds ${LD} -N -T loadagent.lds -o $@ ${OBJS} \ --start-group ${TC_LIBS} --end-group clean: rm -f *.o *errs *core *.elf *.bin *.srec