FreeCalypso > hg > freecalypso-sw
comparison 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 |
comparison
equal
deleted
inserted
replaced
116:22c8199e08af | 117:e40d8661ecab |
---|---|
1 CC= arm-elf-gcc | 1 CC= arm-elf-gcc |
2 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb | 2 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb |
3 LD= arm-elf-ld | |
3 | 4 |
4 OBJS= serialswitch.o uart.o | 5 OBJS= init.o serialswitch.o uart.o |
5 | 6 |
6 HDRS= faxdata.h serialswitch.h traceswitch.h uart.h uartfax.h | 7 HDRS= faxdata.h serialswitch.h traceswitch.h uart.h uartfax.h |
7 | 8 |
8 all: ${OBJS} | 9 all: xipcode.o |
9 | 10 |
10 ${OBJS}: ${HDRS} | 11 ${OBJS}: ${HDRS} |
11 | 12 |
13 xipcode.o: ${OBJS} | |
14 ${LD} -r -o $@ ${OBJS} | |
15 | |
12 clean: | 16 clean: |
13 rm -f *.[oa] *errs | 17 rm -f *.[oa] *errs |