view nuc-fw/serial/Makefile @ 117:e40d8661ecab

nuc-fw: low-level serial code should be complete
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 28 Oct 2013 07:35:47 +0000
parents 22c8199e08af
children 3b5c3f3646fb
line wrap: on
line source

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

OBJS=	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