view gsm-fw/serial/Makefile @ 773:bccd56f16a71

gsm-fw/g23m-gsm/ss/Makefile: link xipcode.o
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 12 Oct 2014 00:55:20 +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