view gsm-fw/gpf/conf/Makefile @ 1030:194967e11b2b

fc-shell: tch record and tch play reworked for libgsm-compatible file format
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 31 May 2016 18:39:06 +0000
parents 86364a58aa6c
children
line wrap: on
line source

CC=	arm-elf-gcc
CFLAGS=	-O2 -fno-builtin -mthumb-interwork -mthumb
CPPFLAGS=-I../inc
LD=	arm-elf-ld

sinclude ../../include/config.mk

ifeq (${CONFIG_GSM},1)
CONFIG_MODULE=	gsmcomp
else
CONFIG_MODULE=	barecomp
endif

OBJS=	gpf_misc_init.o gpf_tst_drv.o ${CONFIG_MODULE}.o

all:	xipcode.o

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

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