view gsm-fw/bsp/abb+spi/Makefile @ 157:e48ea5875df7

gsm-fw: SPI task code compiles and links
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 17 Nov 2013 09:17:06 +0000
parents 47754cdb6248
children 05342cadbaf1
line wrap: on
line source

CC=	arm-elf-gcc
CFLAGS=	-O2 -fno-builtin -mthumb-interwork -mthumb
LD=	arm-elf-ld

OBJS=	abb.o spi_api.o spi_drv.o spi_env.o spi_process.o spi_task.o

HDRS=	abb.h abb_core_inth.h abb_inline.h abb_inth.h spi_api.h spi_drv.h \
	spi_env.h spi_pool_size.h spi_process.h spi_task.h

all:	xipcode.o

${OBJS}:	${HDRS}

xipcode.o:	${OBJS}
	${LD} -r -o $@ ${OBJS}

clean:
	rm -f *.[oa] *errs