FreeCalypso > hg > freecalypso-sw
diff 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 diff
--- a/nuc-fw/serial/Makefile Mon Oct 28 06:49:44 2013 +0000 +++ b/nuc-fw/serial/Makefile Mon Oct 28 07:35:47 2013 +0000 @@ -1,13 +1,17 @@ CC= arm-elf-gcc CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb +LD= arm-elf-ld -OBJS= serialswitch.o uart.o +OBJS= init.o serialswitch.o uart.o HDRS= faxdata.h serialswitch.h traceswitch.h uart.h uartfax.h -all: ${OBJS} +all: xipcode.o ${OBJS}: ${HDRS} +xipcode.o: ${OBJS} + ${LD} -r -o $@ ${OBJS} + clean: rm -f *.[oa] *errs