view gsm-fw/serial/Makefile @ 630:4cd1dcc167e4

gsm-fw/cfgmagic: preparations for building flash images (sane vs. Compal)
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 01 Sep 2014 09:28:09 +0000
parents afceeeb2cba1
children fc713944bd1c
line wrap: on
line source

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

OBJS=	debug.o init.o serialswitch.o uart.o

HDRS=	faxdata.h serialswitch.h traceswitch.h uart.h uartfax.h

all:	xipcode.o

${OBJS}:	${HDRS}

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

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