view gsm-fw/serial/Makefile @ 674:5ec79b82ab04

gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 28 Sep 2014 23:29:16 +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