view uptools/libcoding/Makefile @ 561:392525355ee7

loadtools/scripts: gtm900.config renamed to gen4.config It turns out that a GTM900 variant exists with 8 MiB flash, thus -h gen8 needs to be used for GTM900 modules as the general case, and the old -h gtm900 config is best renamed to -h gen4, although not currently official for any actual target.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 30 Jan 2020 07:10:20 +0000
parents f7228c18463a
children f023a1c187a9
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
OBJS=	alpha_addr.o decode_helpers.o grokdcs.o gsm7_decode.o \
	gsm7_decode_tables.o gsm7_encode.o gsm7_encode_table.o gsm7_pack.o \
	gsm7_unpack.o gsmtime.o hexdecode.o hexdump.o hexencode.o \
	number_decode.o number_encode.o scaddr.o sms_submit.o sms_submit8.o \
	ucs2_bigend.o ucs2_decode.o utf8_decode.o utf8_decode2.o
LIB=	libcoding.a

all:	${LIB}

${LIB}:	${OBJS}
	ar rcu $@ ${OBJS}
	ranlib $@

clean:
	rm -f *.[oa] errs