view gsm-fw/serial/Makefile @ 891:f3fba126778a

gsm-fw/comlib/cl_imei.c: implemented reading of Pirelli's factory IMEI record
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 29 Jun 2015 21:58:15 +0000
parents fc713944bd1c
children
line wrap: on
line source

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

sinclude ../include/config.mk

OBJS=	debug.o init.o serialswitch.o uart.o
ifeq (${CONFIG_FDMODEM},1)
OBJS+=	uartfax.o
endif

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