view gsm-fw/g23m-gsm/sms/Makefile @ 828:a8d0bbba7886

build flashable images by default when PS is included and target has small RAM
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 06 Apr 2015 02:32:04 +0000
parents 77ab12ccdec1
children
line wrap: on
line source

CC=	arm-elf-gcc
LD=	arm-elf-ld

CFLAGS=	-O2 -fno-builtin -mthumb-interwork -mthumb
CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \
	-I../../cdginc

OBJS=	sms_cp.o sms_csf.o sms_em.o sms_for.o sms_pei.o sms_rl.o sms_time.o \
	sms_tlf.o sms_tlp.o sms_tls.o

all:	xipcode.o

xipcode.o:	${OBJS}
	${LD} -r -o $@ ${OBJS}

clean:
	rm -f *.[oa] *.out *errs